From 978d07d8bf4e430abcf431298b6e5e9be458384c Mon Sep 17 00:00:00 2001 From: Fabian Canobra Date: Fri, 6 Dec 2019 14:12:25 -0300 Subject: [PATCH] Updates Dockerfile --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 695e30e..c554918 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,20 +8,20 @@ # > sudo docker run -p 9080:9080 -tid -v ${PROJECT_DIR}:/scrapyrt/project scrapyrt # -FROM ubuntu:14.04 +FROM ubuntu:18.04 ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && \ - apt-get install -y python python-dev \ + apt-get install -y python3 python3-dev \ libffi-dev libxml2-dev libxslt1-dev zlib1g-dev libssl-dev wget RUN mkdir -p /scrapyrt/src /scrapyrt/project RUN mkdir -p /var/log/scrapyrt RUN wget -O /tmp/get-pip.py "https://bootstrap.pypa.io/get-pip.py" && \ - python /tmp/get-pip.py "pip==9.0.1" && \ - rm /tmp/get-pip.py + python3 /tmp/get-pip.py "pip==19.3.1" && \ + rm /tmp/get-pip.py ADD . /scrapyrt/src RUN pip install /scrapyrt/src