Improve build speed by making intermediaries reusable
This commit is contained in:
parent
ba2ca68284
commit
fe05ab2eb3
1 changed files with 3 additions and 1 deletions
|
@ -2,9 +2,11 @@ FROM python:3-alpine
|
|||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY docker-net-graph.py Pipfile Pipfile.lock ./
|
||||
COPY Pipfile Pipfile.lock ./
|
||||
|
||||
RUN pip install pipenv
|
||||
RUN pipenv install --system --deploy
|
||||
|
||||
COPY docker-net-graph.py ./
|
||||
|
||||
ENTRYPOINT ["python", "docker-net-graph.py"]
|
Loading…
Reference in a new issue