Update docker file to allow caching
This commit is contained in:
parent
5a728084e5
commit
c62a34142c
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue