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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -22,7 +22,7 @@ RUN pip install --no-cache-dir -r requirements.txt
22
  COPY --chown=user . $HOME/app
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"]
 
22
  COPY --chown=user . $HOME/app
23
  RUN chmod 777 $HOME/app
24
  # Expose port 8080 for the Flask app
25
+ EXPOSE 7860
26
+
27
  # Set the entrypoint command to run the Flask app
28
+ CMD ["python", "app.py"]