Update docker file to allow caching

This commit is contained in:
Julius 2020-09-03 18:24:17 +02:00
parent 5a728084e5
commit c62a34142c

View file

@ -1,11 +1,14 @@
FROM python:3.7-alpine FROM python:3.7-alpine
COPY . /app
WORKDIR /app WORKDIR /app
COPY Pipfile* /app/
RUN pip install pipenv && pipenv install --system RUN pip install pipenv && pipenv install --system
COPY . /app
RUN date +%d-%m-%Y > /app/date RUN date +%d-%m-%Y > /app/date
WORKDIR /app WORKDIR /app