use --no-cache-dir for docker build

use --no-cache can save about 90M
```
➜  freqtrade git:(develop) ✗ docker images freq
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
freq                latest              b15db8341067        7 minutes ago       800MB
➜  freqtrade git:(develop) ✗ docker images freq_nocache
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
freq_nocache        latest              e5731f28ac54        20 seconds ago      709MB
```
pull/1218/head
gaojin 8 years ago committed by GitHub
parent 3abc294e5f
commit 0a4b2f19e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,11 +15,11 @@ RUN mkdir /freqtrade
WORKDIR /freqtrade
# Install dependencies
COPY requirements.txt /freqtrade/
RUN pip install numpy \
&& pip install -r requirements.txt
COPY requirements.txt /freqtrade/
RUN pip install numpy --no-cache-dir \
&& pip install -r requirements.txt --no-cache-dir
# Install and execute
COPY . /freqtrade/
RUN pip install -e .
RUN pip install -e . --no-cache-dir
ENTRYPOINT ["freqtrade"]

Loading…
Cancel
Save