Update Dockerfile
Update #167 Co-Authored-By: Marllus Lustosa <marlluslustosa@riseup.net>
This commit is contained in:
parent
d0f23098a7
commit
baf204a7f0
1 changed files with 4 additions and 3 deletions
|
@ -10,11 +10,12 @@
|
|||
|
||||
# NOTE 2018-07-28: alpine does not compile lxml
|
||||
# NOTE 2019-11-27: smallest image generated at the end
|
||||
FROM alpine:latest
|
||||
FROM python:3-alpine
|
||||
|
||||
#dependencies
|
||||
RUN apk --no-cache add py-lxml py-pip
|
||||
RUN apk --no-cache add gcc libxslt-dev musl-dev
|
||||
RUN apk add --no-cache --virtual .build-deps gcc libxslt-dev musl-dev py3-lxml py3-pip \
|
||||
&& pip3 install wsgidav cheroot lxml \
|
||||
&& apk del .build-deps gcc musl-dev
|
||||
|
||||
RUN pip install --no-cache-dir wsgidav cheroot lxml
|
||||
RUN mkdir -p /var/wsgidav-root
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue