docker(minor): remove virtualenv from pipenv

This commit is contained in:
Langhammer, Jens 2019-10-01 13:50:37 +02:00
parent 2bffc12ef9
commit f0907841dd

View file

@ -9,6 +9,7 @@ RUN apk update && \
apk add --no-cache openssl-dev build-base libxml2-dev libxslt-dev libffi-dev gcc musl-dev libgcc zlib-dev postgresql-dev && \ apk add --no-cache openssl-dev build-base libxml2-dev libxslt-dev libffi-dev gcc musl-dev libgcc zlib-dev postgresql-dev && \
pip install pipenv --no-cache-dir && \ pip install pipenv --no-cache-dir && \
pipenv lock -r > requirements.txt && \ pipenv lock -r > requirements.txt && \
pipenv --rm && \
pip install -r requirements.txt --no-cache-dir && \ pip install -r requirements.txt --no-cache-dir && \
adduser -S passbook && \ adduser -S passbook && \
chown -R passbook /app chown -R passbook /app