no cache in docker

This commit is contained in:
cupcakearmy 2019-12-17 14:30:14 +01:00
parent 868004854b
commit ebf73ac27c

View File

@ -1,8 +1,8 @@
FROM python:3.7-slim
FROM python:3-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt && rm -rf /root/.cache
RUN pip install --no-cache-dir -r requirements.txt && rm -rf /root/.cache
COPY src .
CMD ["python", "-u", "/app/Mercatus.py"]