Update Dockerfile
Browse files- Dockerfile +0 -11
Dockerfile
CHANGED
|
@@ -5,16 +5,5 @@ COPY . /app
|
|
| 5 |
|
| 6 |
RUN pip install -r requirements.txt
|
| 7 |
|
| 8 |
-
# Chrome Setup
|
| 9 |
-
RUN apt-get update && apt-get install -y wget gnupg2 curl unzip
|
| 10 |
-
RUN curl -sS https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
|
| 11 |
-
RUN echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list
|
| 12 |
-
RUN apt-get update && apt-get install -y google-chrome-stable
|
| 13 |
-
|
| 14 |
-
RUN wget https://chromedriver.storage.googleapis.com/114.0.5735.90/chromedriver_linux64.zip && \
|
| 15 |
-
unzip chromedriver_linux64.zip && \
|
| 16 |
-
mv chromedriver /usr/bin/chromedriver && \
|
| 17 |
-
chmod +x /usr/bin/chromedriver
|
| 18 |
-
|
| 19 |
EXPOSE 7860
|
| 20 |
CMD ["python", "app.py"]
|
|
|
|
| 5 |
|
| 6 |
RUN pip install -r requirements.txt
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
EXPOSE 7860
|
| 9 |
CMD ["python", "app.py"]
|