Merge pull request #486 from ofthesun9/1.5

Do not remove openssl when purging build deps, fixes #481
This commit is contained in:
kaiyou
2018-06-03 11:48:57 +02:00
committed by GitHub

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