Spaces:
Sleeping
Sleeping
AdityaAdaki
commited on
Commit
·
4ea3a39
1
Parent(s):
87aa947
Use specific ChromeDriver version for Chrome 131
Browse files- Dockerfile +5 -7
Dockerfile
CHANGED
@@ -21,14 +21,12 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key
|
|
21 |
&& apt-get install -y google-chrome-stable \
|
22 |
&& rm -rf /var/lib/apt/lists/*
|
23 |
|
24 |
-
#
|
25 |
-
RUN
|
26 |
-
&&
|
27 |
-
&&
|
28 |
-
&& unzip chromedriver_linux64.zip \
|
29 |
-
&& mv chromedriver /usr/local/bin/ \
|
30 |
&& chmod +x /usr/local/bin/chromedriver \
|
31 |
-
&& rm
|
32 |
|
33 |
# Create necessary directories and set permissions
|
34 |
RUN mkdir -p /app/static/screenshots /app/static/uploads /app/static/masks /app/templates \
|
|
|
21 |
&& apt-get install -y google-chrome-stable \
|
22 |
&& rm -rf /var/lib/apt/lists/*
|
23 |
|
24 |
+
# Install specific ChromeDriver version for Chrome 131
|
25 |
+
RUN wget -q "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/131.0.6778.88/linux64/chromedriver-linux64.zip" \
|
26 |
+
&& unzip chromedriver-linux64.zip \
|
27 |
+
&& mv chromedriver-linux64/chromedriver /usr/local/bin/ \
|
|
|
|
|
28 |
&& chmod +x /usr/local/bin/chromedriver \
|
29 |
+
&& rm -rf chromedriver-linux64.zip chromedriver-linux64
|
30 |
|
31 |
# Create necessary directories and set permissions
|
32 |
RUN mkdir -p /app/static/screenshots /app/static/uploads /app/static/masks /app/templates \
|