File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -12,23 +12,16 @@ FROM ubuntu:14.04
1212
1313ENV DEBIAN_FRONTEND noninteractive
1414
15- RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 627220E7
16- RUN echo 'deb http://archive.scrapy.org/ubuntu scrapy main' | tee /etc/apt/sources.list.d/scrapy.list
17-
1815RUN apt-get update && \
19- apt-get install -y python python-dev python-pip \
20- libffi-dev libxml2-dev libxslt1-dev zlib1g-dev libssl-dev
16+ apt-get install -y python python-dev \
17+ libffi-dev libxml2-dev libxslt1-dev zlib1g-dev libssl-dev wget
2118
2219RUN mkdir -p /scrapyrt/src /scrapyrt/project
2320RUN mkdir -p /var/log/scrapyrt
2421
25- WORKDIR /scrapyrt/src
26-
27- ADD requirements.txt /scrapyrt/src/requirements.txt
28- RUN pip install -r requirements.txt
29-
30- ADD . /scrapyrt/src
31- RUN pip install /scrapyrt/src
22+ RUN wget "https://bootstrap.pypa.io/get-pip.py"
23+ RUN python get-pip.py
24+ RUN pip install scrapyrt
3225
3326WORKDIR /scrapyrt/project
3427
You can’t perform that action at this time.
0 commit comments