docker cleanup

This commit is contained in:
cupcakearmy
2019-12-23 10:45:38 +01:00
parent 33877495fd
commit 2253af8118
5 changed files with 28 additions and 13 deletions

View File

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