From 72cc952506fd434e56a5a0090e9018e9eae88e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Fri, 17 Apr 2020 16:35:42 +0200 Subject: [PATCH] more docker layers --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1875003..a46057f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,10 @@ FROM python:3.8 WORKDIR /app -COPY . ./ +COPY requirements.txt ./ RUN pip3 install --no-cache-dir -r requirements.txt +COPY . ./ + CMD ["python3", "app.py"]