Skip to content

Commit

Permalink
use flask run for now?
Browse files Browse the repository at this point in the history
  • Loading branch information
KTachibanaM committed Jul 31, 2024
1 parent 30df585 commit 14331e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ RUN apt-get update && apt-get -y install build-essential python3-dev && pip inst
COPY . /app

# Run uwsgi.ini when the container launches
CMD ["bash", "-c", "flask sqlite init && PORT=\"${PORT:=5000}\" && uwsgi --ini uwsgi.ini --http :${PORT}"]
CMD ["bash", "-c", "flask sqlite init && flask run"]
# CMD ["bash", "-c", "flask sqlite init && PORT=\"${PORT:=5000}\" && uwsgi --ini uwsgi.ini --http :${PORT}"]

0 comments on commit 14331e9

Please sign in to comment.