Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -21,7 +21,7 @@ RUN wget -O chromedriver.zip "https://storage.googleapis.com/chrome-for-testing-
|
|
21 |
&& unzip chromedriver.zip -d /usr/local/bin/ \
|
22 |
&& mv /usr/local/bin/chromedriver-linux64/chromedriver /usr/local/bin/ \
|
23 |
&& rm -rf /usr/local/bin/chromedriver-linux64 chromedriver.zip
|
24 |
-
|
25 |
COPY . .
|
26 |
# 安装 Python 依赖项
|
27 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
21 |
&& unzip chromedriver.zip -d /usr/local/bin/ \
|
22 |
&& mv /usr/local/bin/chromedriver-linux64/chromedriver /usr/local/bin/ \
|
23 |
&& rm -rf /usr/local/bin/chromedriver-linux64 chromedriver.zip
|
24 |
+
RUN chmod 777 /usr/local/bin/chromedriver
|
25 |
COPY . .
|
26 |
# 安装 Python 依赖项
|
27 |
RUN pip install --no-cache-dir -r requirements.txt
|