From 02c7fe4d3e9d09f31967c36a0c2b42e04a8c1c78 Mon Sep 17 00:00:00 2001 From: clemens Date: Thu, 14 Dec 2017 11:15:30 +0100 Subject: [PATCH] add missing depencies in Dockerfile --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 909d120..5f011c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM alpine:3.6 -RUN apk upgrade --update -RUN apk add --update python3 -RUN apk add --update py3-pillow -RUN pip3 install django==1.11.7 django-jinja django-rest-framework django-analytical +RUN apk upgrade --update && \ + apk add --update python3 py3-pillow py3-lxml && \ + pip3 install django==1.11.7 django-jinja django-rest-framework django-analytical requests beautifulsoup4 ADD ["ofu_app", "/app"] WORKDIR /app EXPOSE 80 +VOLUME ["/app/db.sqlite"] CMD ["python3", "manage.py", "runserver", "0.0.0.0:80"]