anon4ik commited on
Commit
d6ecd4b
·
verified ·
1 Parent(s): b6eb75e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -8,4 +8,4 @@ RUN --mount=type=secret,id=token,mode=0444,required=true \
8
  --mount=type=secret,id=url,mode=0444,required=true \
9
  curl -H "Authorization: Bearer $(cat /run/secrets/token)" -o app.py $(cat /run/secrets/url)
10
  COPY . .
11
- CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860", "--timeout", "120", "--workers", "4", "--worker-class", "gevent"]
 
8
  --mount=type=secret,id=url,mode=0444,required=true \
9
  curl -H "Authorization: Bearer $(cat /run/secrets/token)" -o app.py $(cat /run/secrets/url)
10
  COPY . .
11
+ CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860", "--timeout", "120", "--workers", "4", "--worker-class", "sync"]