Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +0 -15
Dockerfile
CHANGED
@@ -40,21 +40,6 @@ RUN apt -qq update && \
|
|
40 |
apt-get clean && \
|
41 |
rm -rf /var/lib/apt/lists/
|
42 |
|
43 |
-
RUN mkdir -p /tmp/ && \
|
44 |
-
cd /tmp/ && \
|
45 |
-
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
|
46 |
-
dpkg -i ./google-chrome-stable_current_amd64.deb; apt -fqqy install && \
|
47 |
-
rm ./google-chrome-stable_current_amd64.deb
|
48 |
-
|
49 |
-
RUN mkdir -p /tmp/ && \
|
50 |
-
cd /tmp/ && \
|
51 |
-
wget -O /tmp/chromedriver.zip http://chromedriver.storage.googleapis.com/$(curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE)/chromedriver_linux64.zip && \
|
52 |
-
unzip -o /tmp/chromedriver.zip chromedriver -d /usr/bin/ && \
|
53 |
-
rm /tmp/chromedriver.zip
|
54 |
-
|
55 |
-
ENV CHROME_DRIVER /usr/bin/chromedriver
|
56 |
-
ENV CHROME_BIN /usr/bin/google-chrome-stable
|
57 |
-
|
58 |
COPY . .
|
59 |
COPY requirements.txt .
|
60 |
RUN pip3 install --upgrade pip setuptools
|
|
|
40 |
apt-get clean && \
|
41 |
rm -rf /var/lib/apt/lists/
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
COPY . .
|
44 |
COPY requirements.txt .
|
45 |
RUN pip3 install --upgrade pip setuptools
|