Update dockerfiles to run as non-root

This commit is contained in:
Matthias
2021-04-08 20:17:53 +02:00
parent 898c24949b
commit 4eb251ce41
6 changed files with 43 additions and 27 deletions

View File

@@ -3,8 +3,8 @@ FROM freqtradeorg/freqtrade:develop
# Install dependencies
COPY requirements-dev.txt /freqtrade/
RUN pip install numpy --no-cache-dir \
&& pip install -r requirements-dev.txt --no-cache-dir
RUN pip install numpy --user --no-cache-dir \
&& pip install -r requirements-dev.txt --user --no-cache-dir
# Empty the ENTRYPOINT to allow all commands
ENTRYPOINT []