add missing depencies in Dockerfile
This commit is contained in:
parent
b2565b2dc2
commit
02c7fe4d3e
@ -1,9 +1,9 @@
|
|||||||
FROM alpine:3.6
|
FROM alpine:3.6
|
||||||
RUN apk upgrade --update
|
RUN apk upgrade --update && \
|
||||||
RUN apk add --update python3
|
apk add --update python3 py3-pillow py3-lxml && \
|
||||||
RUN apk add --update py3-pillow
|
pip3 install django==1.11.7 django-jinja django-rest-framework django-analytical requests beautifulsoup4
|
||||||
RUN pip3 install django==1.11.7 django-jinja django-rest-framework django-analytical
|
|
||||||
ADD ["ofu_app", "/app"]
|
ADD ["ofu_app", "/app"]
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
VOLUME ["/app/db.sqlite"]
|
||||||
CMD ["python3", "manage.py", "runserver", "0.0.0.0:80"]
|
CMD ["python3", "manage.py", "runserver", "0.0.0.0:80"]
|
||||||
|
|||||||
Reference in New Issue
Block a user