mirror of
https://github.com/netzbegruenung/green-spider.git
synced 2024-04-27 14:54:52 +02:00
Add phantomjs
This commit is contained in:
parent
e15051952e
commit
c21511cd62
|
@ -18,8 +18,14 @@ RUN apt-get update \
|
||||||
&& rm chromedriver_linux64.zip \
|
&& rm chromedriver_linux64.zip \
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
|
||||||
|
# TODO: move this into the above
|
||||||
RUN pip3 install beautifulsoup4==4.6.0
|
RUN pip3 install beautifulsoup4==4.6.0
|
||||||
|
|
||||||
|
RUN wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 \
|
||||||
|
&& tar xjf phantomjs-2.1.1-linux-x86_64.tar.bz2 \
|
||||||
|
&& mv phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/ \
|
||||||
|
&& rm -rf phantomjs-2.1.1-linux-x86_64
|
||||||
|
|
||||||
ADD spider.py /
|
ADD spider.py /
|
||||||
|
|
||||||
ENTRYPOINT ["python3", "/spider.py"]
|
ENTRYPOINT ["python3", "/spider.py"]
|
||||||
|
|
Loading…
Reference in a new issue