From c1b4ee8a2350acef686fb7085c3024ae978b48eb Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Fri, 11 Oct 2019 10:11:42 +0300 Subject: [PATCH] update docker, and requirerements --- code/Dockerfile | 7 ++++--- code/manager-requirements.txt | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/code/Dockerfile b/code/Dockerfile index 466c2c1..a7fadcc 100644 --- a/code/Dockerfile +++ b/code/Dockerfile @@ -1,11 +1,12 @@ -FROM alpine:3.5 +FROM alpine:3.10 RUN apk add --update \ tzdata \ python3 \ python3-dev \ - py3-pip \ build-base \ - libmagic + libmagic \ + curl +RUN curl https://bootstrap.pypa.io/get-pip.py | python3 COPY docker-requirements.txt /requirements.txt RUN pip3 install -r /requirements.txt COPY static /code/static diff --git a/code/manager-requirements.txt b/code/manager-requirements.txt index 7a8f544..15ccdc0 100644 --- a/code/manager-requirements.txt +++ b/code/manager-requirements.txt @@ -1,4 +1,5 @@ tabulate +flask #pycrypto requests python-dateutil