Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +9 -2
Dockerfile
CHANGED
@@ -24,8 +24,15 @@ RUN apt -qq update && \
|
|
24 |
apt-get clean && \
|
25 |
rm -rf /var/lib/apt/lists/
|
26 |
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
WORKDIR /app
|
31 |
WORKDIR /.cache
|
|
|
24 |
apt-get clean && \
|
25 |
rm -rf /var/lib/apt/lists/
|
26 |
|
27 |
+
RUN mkdir -p /app/.chrome-for-testing && \
|
28 |
+
wget -O /app/.chrome-for-testing/chrome-linux64.zip https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/115.0.5790.98/linux64/chrome-linux64.zip && \
|
29 |
+
unzip /app/.chrome-for-testing/chrome-linux64.zip -d /app/.chrome-for-testing/
|
30 |
+
|
31 |
+
RUN wget -O /app/.chrome-for-testing/chromedriver-linux64.zip https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/115.0.5790.98/linux64/chromedriver-linux64.zip && \
|
32 |
+
unzip /app/.chrome-for-testing/chromedriver-linux64.zip -d /app/.chrome-for-testing/
|
33 |
+
|
34 |
+
ENV CHROME_BIN="/app/.chrome-for-testing/chrome-linux64/chrome"
|
35 |
+
ENV CHROME_DRIVER="/app/.chrome-for-testing/chromedriver-linux64/chromedriver"
|
36 |
|
37 |
WORKDIR /app
|
38 |
WORKDIR /.cache
|