Dockerfile: add setuptools for gunicorn
continuous-integration/drone/push Build is passing Details

Otherwise gets removed with pip
master
pictuga 2021-12-12 21:11:38 +00:00
parent d07aa566ed
commit def397de5e
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ FROM alpine:latest
ADD . /app ADD . /app
RUN set -ex; \ RUN set -ex; \
apk add --no-cache --virtual .run-deps python3 py3-lxml py3-setproctitle; \ apk add --no-cache --virtual .run-deps python3 py3-lxml py3-setproctitle py3-setuptools; \
apk add --no-cache --virtual .build-deps py3-pip py3-wheel; \ apk add --no-cache --virtual .build-deps py3-pip py3-wheel; \
pip3 install --no-cache-dir /app[full]; \ pip3 install --no-cache-dir /app[full]; \
apk del .build-deps apk del .build-deps