anon4ik commited on
Commit
bdbed1e
·
verified ·
1 Parent(s): 9c7eca7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -2,8 +2,8 @@ FROM mcr.microsoft.com/playwright/python:v1.40.0-jammy
2
  WORKDIR /code
3
  RUN chmod 777 /code
4
  RUN python -m pip install --upgrade pip && \
5
- pip install flask requests aiohttp playwright bs4 gunicorn gevent && \
6
- playwright install firefox
7
  RUN mkdir -p /.cache && chmod 777 /.cache
8
  RUN --mount=type=secret,id=token,mode=0444,required=true \
9
  curl -H "Authorization: Bearer $(cat /run/secrets/token)" -o app.py https://huggingface.co/spaces/anon4ik/Space/blob/main/ms_designer.py
 
2
  WORKDIR /code
3
  RUN chmod 777 /code
4
  RUN python -m pip install --upgrade pip && \
5
+ pip install aiohttp requests flask[async] flask-cors waitress gunicorn gevent playwright bs4
6
+
7
  RUN mkdir -p /.cache && chmod 777 /.cache
8
  RUN --mount=type=secret,id=token,mode=0444,required=true \
9
  curl -H "Authorization: Bearer $(cat /run/secrets/token)" -o app.py https://huggingface.co/spaces/anon4ik/Space/blob/main/ms_designer.py