Ritesh-hf commited on
Commit
3c4b5f9
·
verified ·
1 Parent(s): 499a430

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -6
Dockerfile CHANGED
@@ -24,9 +24,4 @@ RUN pip install --no-cache-dir -r requirements.txt
24
 
25
  # Copy the rest of the application code
26
  COPY --chown=user . /app
27
-
28
- # Expose the port your Flask app runs on
29
- EXPOSE 5000
30
-
31
- # Run the Flask app using Gunicorn
32
- CMD ["gunicorn", "-w", "2", "-b", "0.0.0.0:5000", "--preload", "app:app"]
 
24
 
25
  # Copy the rest of the application code
26
  COPY --chown=user . /app
27
+ CMD ["gunicorn", "-b", "0.0.0.0:7860", "-k", "eventlet", "app:app"]