add missing depencies in Dockerfile

This commit is contained in:
clemens 2017-12-14 11:15:30 +01:00
parent b2565b2dc2
commit 02c7fe4d3e

View File

@ -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"]