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 14331e9 commit 18a8698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +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 && flask run"]
CMD ["bash", "-c", "flask sqlite init && flask run --host=0.0.0.0"]
# CMD ["bash", "-c", "flask sqlite init && PORT=\"${PORT:=5000}\" && uwsgi --ini uwsgi.ini --http :${PORT}"]

0 comments on commit 18a8698

Please sign in to comment.