Tmeena commited on
Commit
a0c887c
1 Parent(s): b3a06c9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -23,5 +23,5 @@ RUN mkdir -p /app/temp && chmod 777 /app/temp
23
  # Make port 7860 available to the world outside this container
24
  EXPOSE 7860
25
 
26
- # Run the Flask app
27
- CMD ["python", "app.py"]
 
23
  # Make port 7860 available to the world outside this container
24
  EXPOSE 7860
25
 
26
+ # Start the app using Gunicorn
27
+ CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]