Do not remove openssl when purging build deps, fixes #481

This commit is contained in:
Pierre Jaury
2018-05-30 00:28:44 +02:00
committed by ofthesun9
parent 6a3236200d
commit 11f145da8c

View File

@@ -4,7 +4,8 @@ RUN mkdir -p /app
WORKDIR /app
COPY requirements-prod.txt requirements.txt
RUN apk --update add --virtual build-dep openssl-dev libffi-dev python-dev build-base \
RUN apk add --no-cache openssl \
&& apk add --no-cache --virtual build-dep openssl-dev libffi-dev python-dev build-base \
&& pip install -r requirements.txt \
&& apk del build-dep