Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -50,15 +50,15 @@ RUN mkdir -p /tmp/ && \
|
|
50 |
|
51 |
RUN mkdir -p /tmp/ && \
|
52 |
cd /tmp/ && \
|
53 |
-
wget -O /tmp/chromedriver.zip http://chromedriver.storage.googleapis.com/$(curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE)/chromedriver_linux64.zip
|
54 |
-
unzip /tmp/chromedriver.zip chromedriver -d /usr/bin/ && \
|
55 |
rm /tmp/chromedriver.zip
|
56 |
|
57 |
-
RUN mkdir -p uploads && chmod 777 uploads
|
58 |
-
|
59 |
ENV CHROME_DRIVER /usr/bin/chromedriver
|
60 |
ENV CHROME_BIN /usr/bin/google-chrome-stable
|
61 |
|
|
|
|
|
62 |
COPY . .
|
63 |
COPY requirements.txt .
|
64 |
RUN pip3 install --upgrade pip setuptools
|
|
|
50 |
|
51 |
RUN mkdir -p /tmp/ && \
|
52 |
cd /tmp/ && \
|
53 |
+
wget -O /tmp/chromedriver.zip http://chromedriver.storage.googleapis.com/$(curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE)/chromedriver_linux64.zip && \
|
54 |
+
unzip -o /tmp/chromedriver.zip chromedriver -d /usr/bin/ && \
|
55 |
rm /tmp/chromedriver.zip
|
56 |
|
|
|
|
|
57 |
ENV CHROME_DRIVER /usr/bin/chromedriver
|
58 |
ENV CHROME_BIN /usr/bin/google-chrome-stable
|
59 |
|
60 |
+
RUN mkdir -p uploads && chmod 777 uploads
|
61 |
+
|
62 |
COPY . .
|
63 |
COPY requirements.txt .
|
64 |
RUN pip3 install --upgrade pip setuptools
|