Update Dockerfile
Browse files- 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", "
|
|
|
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"]
|