File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 88# > sudo docker run -p 9080:9080 -tid -v ${PROJECT_DIR}:/scrapyrt/project scrapyrt
99#
1010
11- FROM ubuntu:14 .04
11+ FROM ubuntu:18 .04
1212
1313ENV DEBIAN_FRONTEND noninteractive
1414
1515RUN apt-get update && \
16- apt-get install -y python python -dev \
16+ apt-get install -y python3 python3 -dev \
1717 libffi-dev libxml2-dev libxslt1-dev zlib1g-dev libssl-dev wget
1818
1919RUN mkdir -p /scrapyrt/src /scrapyrt/project
2020RUN mkdir -p /var/log/scrapyrt
2121
2222RUN wget -O /tmp/get-pip.py "https://bootstrap.pypa.io/get-pip.py" && \
23- python /tmp/get-pip.py "pip==9.0 .1" && \
24- rm /tmp/get-pip.py
23+ python3 /tmp/get-pip.py "pip==19.3 .1" && \
24+ rm /tmp/get-pip.py
2525
2626ADD . /scrapyrt/src
2727RUN pip install /scrapyrt/src
You can’t perform that action at this time.
0 commit comments