Skip to content

Commit

Permalink
cmd changed for production
Browse files Browse the repository at this point in the history
  • Loading branch information
tedoaba committed Oct 28, 2024
1 parent b04d968 commit c0250ed
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 @@ -24,4 +24,5 @@ RUN npm install
EXPOSE 8000

# Command to run on container start
CMD ["flask", "--app", "app", "run", "--host=0.0.0.0", "--port=8000", "--debug"]
#CMD ["flask", "--app", "app", "run", "--host=0.0.0.0", "--port=8000", "--debug"]
CMD ["gunicorn", "-b", "0.0.0.0:8000", "app:app"]

0 comments on commit c0250ed

Please sign in to comment.