Fix freqAI dockerfile not running freqai code ...

This commit is contained in:
Matthias 2022-06-16 19:35:16 +02:00
parent 121edc3e42
commit 61040c9f8e
1 changed files with 9 additions and 0 deletions

View File

@ -2,7 +2,16 @@ ARG sourceimage=freqtradeorg/freqtrade
ARG sourcetag=develop
FROM ${sourceimage}:${sourcetag}
USER root
RUN apt-get install -y libgomp1
USER ftuser
# Install dependencies
COPY requirements-freqai.txt /freqtrade/
RUN pip install -r requirements-freqai.txt --user --no-cache-dir
# Temporary step - as the source image will contain the wrong (non-freqai) sourcecode
COPY --chown=ftuser:ftuser . /freqtrade/