h3110Fr13nd commited on
Commit
4daadc5
1 Parent(s): 8361c51

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -23,5 +23,6 @@ COPY --chown=user . $HOME/app
23
  RUN chmod 777 $HOME/app
24
  # Expose port 8080 for the Flask app
25
  EXPOSE 8080
 
26
  # Set the entrypoint command to run the Flask app
27
- CMD ["python", "app.py"]
 
23
  RUN chmod 777 $HOME/app
24
  # Expose port 8080 for the Flask app
25
  EXPOSE 8080
26
+ ENV FLASK_APP=$HOME/app/app.py
27
  # Set the entrypoint command to run the Flask app
28
+ CMD ["flask", "run", "--host=0.0.0.0"]