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

View File

@ -2,7 +2,16 @@ ARG sourceimage=freqtradeorg/freqtrade
ARG sourcetag=develop ARG sourcetag=develop
FROM ${sourceimage}:${sourcetag} FROM ${sourceimage}:${sourcetag}
USER root
RUN apt-get install -y libgomp1
USER ftuser
# Install dependencies # Install dependencies
COPY requirements-freqai.txt /freqtrade/ COPY requirements-freqai.txt /freqtrade/
RUN pip install -r requirements-freqai.txt --user --no-cache-dir 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/