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 aiohttp requests flask[async] flask-cors waitress gunicorn gevent playwright bs4 huggingface_hub
|
| 6 |
-
|
| 7 |
|
| 8 |
RUN mkdir -p /.cache && chmod 777 /.cache
|
| 9 |
RUN --mount=type=secret,id=token,mode=0444,required=true \
|
|
|
|
| 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 huggingface_hub
|
| 6 |
+
RUN playwright install --with_deps firefox
|
| 7 |
|
| 8 |
RUN mkdir -p /.cache && chmod 777 /.cache
|
| 9 |
RUN --mount=type=secret,id=token,mode=0444,required=true \
|