diff options
-rw-r--r-- | Dockerfile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -39,8 +39,13 @@ FROM python:3.6-alpine COPY requirements.txt / -RUN pip install --upgrade pip -RUN pip install --no-use-pep517 -r /requirements.txt +RUN apk add --no-cache --virtual build_dependencies openssl-dev gcc libffi-dev musl-dev linux-headers python3-dev + +RUN apk add --no-cache libxml2-dev libxslt-dev \ + && pip install --upgrade pip \ + && pip install -r /requirements.txt + +RUN apk del build_dependencies RUN adduser -D vvpuser USER vvpuser |