Chown .local dir
This commit is contained in:
parent
644dcc1641
commit
4b2cec22ec
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user