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