add missing depencies in Dockerfile
This commit is contained in:
parent
b2565b2dc2
commit
02c7fe4d3e
@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user