Avoid issue with system-installed py packages
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2021-12-28 13:30:48 +01:00
parent 106f59afa1
commit c56255df93
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ ADD . /app
RUN set -ex; \
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; \
pip3 install --no-cache-dir /app[full]; \
pip3 install --no-cache-dir --ignore-installed /app[full]; \
apk del .build-deps
USER 1000:1000