From 0e8917565940d2a9ca303d76901866fb1ce73284 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Wed, 27 May 2020 09:29:23 +0200 Subject: [PATCH] Optimize dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9eed1aa..b125274 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,7 @@ FROM python:slim COPY pynyaata /app/pynyaata -COPY requirements.txt /app -COPY *.py /app/ +COPY requirements.txt *.py /app/ WORKDIR /app RUN pip install -r requirements.txt CMD ["python", "run.py"]