muhammadhasnain100 commited on
Commit
568b6b4
·
verified ·
1 Parent(s): 241bb6d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -11,4 +11,5 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
 
12
  COPY --chown=user . /app
13
  # Run the Flask API
14
- CMD ["python", "app.py"]
 
 
11
 
12
  COPY --chown=user . /app
13
  # Run the Flask API
14
+ CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:5000", "app:app"]
15
+