aqul commited on
Commit
2be7e16
·
verified ·
1 Parent(s): 74cb5db

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -16,13 +16,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
16
  RUN --mount=type=secret,id=GITHUB_REPO,required=true \
17
  git clone $(cat /run/secrets/GITHUB_REPO) .
18
 
19
- RUN pip install --no-cache-dir -r requirements.txt \
20
- flask[async] \
21
- gunicorn
22
 
23
  ENV FLASK_ENV=production
24
  ENV PORT=7860
25
 
26
  EXPOSE 7860
27
 
28
- CMD ["gunicorn", "-w", "2", "--threads", "4", "-b", "0.0.0.0:7860", "app:app"]
 
16
  RUN --mount=type=secret,id=GITHUB_REPO,required=true \
17
  git clone $(cat /run/secrets/GITHUB_REPO) .
18
 
19
+ RUN pip install --no-cache-dir -r requirements.txt
 
 
20
 
21
  ENV FLASK_ENV=production
22
  ENV PORT=7860
23
 
24
  EXPOSE 7860
25
 
26
+ CMD ["python", "app.py"]