Add phantomjs
This commit is contained in:
parent
e15051952e
commit
c21511cd62
|
@ -18,8 +18,14 @@ RUN apt-get update \
|
|||
&& rm chromedriver_linux64.zip \
|
||||
&& apt-get clean
|
||||
|
||||
# TODO: move this into the above
|
||||
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 /
|
||||
|
||||
ENTRYPOINT ["python3", "/spider.py"]
|
||||
|
|
Loading…
Reference in New Issue