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

@ -1,9 +1,8 @@
.git .git
.gitignore .gitignore
Dockerfile Dockerfile
Dockerfile.armhf
.dockerignore .dockerignore
config.json*
*.sqlite
.coveragerc .coveragerc
.eggs .eggs
.github .github
@ -13,4 +12,13 @@ CONTRIBUTING.md
MANIFEST.in MANIFEST.in
README.md README.md
freqtrade.service freqtrade.service
freqtrade.egg-info
config.json*
*.sqlite
user_data user_data
*.log
.vscode
.mypy_cache
.ipynb_checkpoints

View File

@ -43,7 +43,7 @@ FROM base as runtime-image
COPY --from=python-deps /usr/local/lib /usr/local/lib COPY --from=python-deps /usr/local/lib /usr/local/lib
ENV LD_LIBRARY_PATH /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 USER ftuser
# Install and execute # Install and execute

View File

@ -42,7 +42,7 @@ FROM base as runtime-image
COPY --from=python-deps /usr/local/lib /usr/local/lib COPY --from=python-deps /usr/local/lib /usr/local/lib
ENV LD_LIBRARY_PATH /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 USER ftuser
# Install and execute # Install and execute