-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (18 loc) · 754 Bytes
/
Dockerfile
File metadata and controls
24 lines (18 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM debian:jessie
MAINTAINER kev <noreply@easypi.pro>
LABEL Name=docker_scrapper Version=0.0.1
RUN apt-get update \
&& apt-get install -y build-essential checkinstall wget tar git \
&& apt-get install -y libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
RUN wget https://www.python.org/ftp/python/3.6.2/Python-3.6.2.tgz
RUN tar xzf Python-3.6.2.tgz
RUN cd Python-3.6.2
RUN ./configure
RUN make altinstall
RUN rm -rf Python-3.6.2
RUN rm -rf Python-3.6.2.tgz
RUN pip3.6 -V
RUN pip3.6 install numpy pandas scrapy w3lib peewee
RUN cd /workdir && git clone https://github.com/XetRAHF/Spider_kvk.nl.git spider \
&& cd /workdir/spider/
CMD cd /workdir/spider/ && bash start_spider.sh