Remove requirements-pi.txt, change Dockerfile.pi to utilize the requirements.txt instead

This commit is contained in:
TL Nguyen
2019-04-07 10:31:03 +03:00
parent 4eb0ed9f2f
commit e7c8e62d75
2 changed files with 4 additions and 26 deletions

View File

@@ -27,9 +27,10 @@ RUN wget https://github.com/jjhelmus/berryconda/releases/download/v2.0.0/Berryco
&& rm Berryconda3-2.0.0-Linux-armv7l.sh
# Install dependencies
COPY requirements-pi.txt /freqtrade/
RUN ~/berryconda3/bin/conda install -y numpy pandas scipy \
&& ~/berryconda3/bin/pip install -r requirements-pi.txt --no-cache-dir
COPY requirements.txt /freqtrade/
RUN sed -i -e '/^numpy==/d' -e '/^pandas==/d' -e '/^scipy==/d' ./requirements.txt \
&& ~/berryconda3/bin/conda install -y numpy pandas scipy \
&& ~/berryconda3/bin/pip install -r requirements.txt --no-cache-dir
# Install and execute
COPY . /freqtrade/