Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +9 -7
Dockerfile
CHANGED
@@ -24,15 +24,17 @@ RUN apt -qq update && \
|
|
24 |
apt-get clean && \
|
25 |
rm -rf /var/lib/apt/lists/
|
26 |
|
27 |
-
RUN
|
28 |
-
|
29 |
-
|
|
|
30 |
|
31 |
-
RUN wget -
|
32 |
-
unzip
|
|
|
33 |
|
34 |
-
ENV CHROME_BIN="/
|
35 |
-
ENV CHROME_DRIVER="/
|
36 |
|
37 |
WORKDIR /app
|
38 |
WORKDIR /.cache
|
|
|
24 |
apt-get clean && \
|
25 |
rm -rf /var/lib/apt/lists/
|
26 |
|
27 |
+
RUN wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
|
28 |
+
&& dpkg -i google-chrome-stable_current_amd64.deb \
|
29 |
+
&& apt-get -fy install \
|
30 |
+
&& rm google-chrome-stable_current_amd64.deb
|
31 |
|
32 |
+
RUN wget -q https://chromedriver.storage.googleapis.com/114.0.5735.90/chromedriver_linux64.zip \
|
33 |
+
&& unzip chromedriver_linux64.zip -d /usr/local/bin/ \
|
34 |
+
&& rm chromedriver_linux64.zip
|
35 |
|
36 |
+
ENV CHROME_BIN = "/usr/bin/google-chrome"
|
37 |
+
ENV CHROME_DRIVER = "/usr/local/bin/chromedriver"
|
38 |
|
39 |
WORKDIR /app
|
40 |
WORKDIR /.cache
|