Skip to content

Commit 364770e

Browse files
author
root
committed
add Dockerfile
0 parents  commit 364770e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM python:3.6
2+
3+
RUN apt-get update && apt-get install wget -y
4+
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
5+
RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list
6+
RUN apt-get update && apt-get install google-chrome-stable zip -y
7+
8+
RUN wget https://chromedriver.storage.googleapis.com/2.45/chromedriver_linux64.zip && \
9+
unzip chromedriver_linux64.zip && rm -f chromedriver_linux64.zip && \
10+
chmod +777 chromedriver && mv -f chromedriver /usr/bin/chromedriver

0 commit comments

Comments
 (0)