Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
HamzaAburaneh committed Jan 22, 2024
1 parent 11dc6b5 commit 6c297fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docker/both/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ FROM python:3.8-slim
RUN apt-get update && apt-get install -y cron

# Install Flask and your other Python dependencies
RUN pip install -U Flask gspread oauth2client pyairtable
RUN pip install -U Flask gspread oauth2client pyairtable pandas numpy scikit-learn nltk



# Copy and set permissions for your scripts and crontab file
COPY suggest.py /app/
Expand Down
3 changes: 2 additions & 1 deletion docker/both/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
cron
flask run --host 0.0.0.0
python /app/process_feedback.py & # Run the script in the background
flask run --host 0.0.0.0

0 comments on commit 6c297fb

Please sign in to comment.