Optimize dockerfile
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2020-05-27 09:29:23 +02:00
parent 1b1e25028a
commit 0e89175659

View File

@ -1,8 +1,7 @@
FROM python:slim FROM python:slim
COPY pynyaata /app/pynyaata COPY pynyaata /app/pynyaata
COPY requirements.txt /app COPY requirements.txt *.py /app/
COPY *.py /app/
WORKDIR /app WORKDIR /app
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
CMD ["python", "run.py"] CMD ["python", "run.py"]