Chown .local dir

This commit is contained in:
Matthias
2021-04-09 19:33:40 +02:00
parent 644dcc1641
commit 4b2cec22ec
3 changed files with 12 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ FROM base as runtime-image
COPY --from=python-deps /usr/local/lib /usr/local/lib
ENV LD_LIBRARY_PATH /usr/local/lib
COPY --from=python-deps /home/ftuser/.local /home/ftuser/.local
COPY --from=python-deps --chown=ftuser:ftuser /home/ftuser/.local /home/ftuser/.local
USER ftuser
# Install and execute