From 0d9b44b3848ad79a23cde8731bc6287fa2272ce7 Mon Sep 17 00:00:00 2001 From: Marian Steinbach Date: Thu, 23 Aug 2018 09:37:53 +0200 Subject: [PATCH] Dockerfile update - remove unused certifi module - add google-cloud-datastore module - add export script --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0be8584..78e85ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN apt-get update \ && wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \ && dpkg -i google-chrome-stable_current_amd64.deb \ && rm google-chrome-stable_current_amd64.deb \ - && pip3 install GitPython idna PyYAML beautifulsoup4==4.6.0 requests==2.18.4 responses==0.9.0 selenium==3.11.0 smmap2==2.0.3 urllib3==1.22 certifi==2018.1.18 \ + && pip3 install GitPython idna PyYAML beautifulsoup4==4.6.0 requests==2.18.4 responses==0.9.0 selenium==3.11.0 smmap2==2.0.3 urllib3==1.22 google-cloud-datastore==1.7.0 \ && wget https://chromedriver.storage.googleapis.com/2.38/chromedriver_linux64.zip \ && unzip chromedriver_linux64.zip \ && rm chromedriver_linux64.zip \ @@ -25,6 +25,7 @@ RUN wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x ADD spider.py / ADD spider_test.py / +ADD data_export.py / ENTRYPOINT ["python3"] CMD ["/spider.py"]