Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
el634dev authored Oct 6, 2024
1 parent 7186114 commit 362a6ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ RUN pip install -r ./requirements.txt

# STEP 5: Declare environment variables
ENV FLASK_APP=app.py
ENV FLASK_ENV=development
ENV FLASK_DEBUG=development

# STEP 6: Expose the port that Flask is running on
EXPOSE 5000

# STEP 7: Run Flask!
CMD ["python", "app.py", "--host=0.0.0.0"]
# CMD ["flask", "run", "--host=0.0.0.0"]
CMD ["flask", "app.py", "--host=0.0.0.0:5000"]
# CMD ["flask", "run", "--host=0.0.0.0"]

0 comments on commit 362a6ac

Please sign in to comment.