Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -7
Dockerfile
CHANGED
@@ -45,13 +45,8 @@ ENV XDG_CACHE_HOME=/code/.cache
|
|
45 |
RUN mkdir -p /code/.cache && chmod -R 777 /code
|
46 |
COPY ./requirements.txt /code/requirements.txt
|
47 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
48 |
-
RUN pip install
|
49 |
-
|
50 |
-
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
|
51 |
-
playwright install chromium; \
|
52 |
-
elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
|
53 |
-
playwright install chromium; \
|
54 |
-
fi
|
55 |
|
56 |
COPY . .
|
57 |
|
|
|
45 |
RUN mkdir -p /code/.cache && chmod -R 777 /code
|
46 |
COPY ./requirements.txt /code/requirements.txt
|
47 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
48 |
+
RUN pip install playwright
|
49 |
+
RUN playwright install chromium
|
|
|
|
|
|
|
|
|
|
|
50 |
|
51 |
COPY . .
|
52 |
|