Add no-cache-dir option to prevent caching packages, might save space

This commit is contained in:
Evan Richardson
2018-09-11 00:36:18 -07:00
parent 6aa33ca58f
commit 5a1b2b67b1

View File

@@ -6,8 +6,8 @@ LABEL version="1.1"
WORKDIR /app
COPY . /app
ENV PYTHONPATH=/app/src/python
RUN pip3 install --upgrade pip
RUN pip3 install -r requirements.txt
RUN pip3 install --no-cache-dir --upgrade pip
RUN pip3 install --no-cache-dir -r requirements.txt
#RUN rm -rf /var/cache/apk
CMD ["/app/src/bin/tHome-eagle.py", "-c", "/app/src/conf"]