From c62a34142c651b9bd7553bec21af6bbe08e72366 Mon Sep 17 00:00:00 2001 From: Julius de Jeu Date: Thu, 3 Sep 2020 18:24:17 +0200 Subject: [PATCH] Update docker file to allow caching --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 74446ae..b7acddc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,14 @@ FROM python:3.7-alpine - -COPY . /app WORKDIR /app +COPY Pipfile* /app/ + RUN pip install pipenv && pipenv install --system +COPY . /app + + RUN date +%d-%m-%Y > /app/date WORKDIR /app