getapi commited on
Commit
072abc2
·
1 Parent(s): b52e420

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -9,4 +9,4 @@ RUN --mount=type=secret,id=TOKEN,mode=0444,required=true \
9
  --mount=type=secret,id=APP_URL,mode=0444,required=true \
10
  curl -H "Authorization: Bearer $(cat /run/secrets/TOKEN)" -o app.py $(cat /run/secrets/APP_URL)
11
  COPY . .
12
- CMD 'playwright install --with-deps firefox' && 'gunicorn app:app --bind 0.0.0.0:7860 --timeout 120 --workers 4 --worker-class gevent --log-level=warn'
 
9
  --mount=type=secret,id=APP_URL,mode=0444,required=true \
10
  curl -H "Authorization: Bearer $(cat /run/secrets/TOKEN)" -o app.py $(cat /run/secrets/APP_URL)
11
  COPY . .
12
+ CMD ["sh", "-c", "playwright install --with-deps firefox && gunicorn app:app --bind 0.0.0.0:7860 --timeout 120 --workers 4 --worker-class gevent --log-level=warn"]