Skip to content

Commit

Permalink
Merge pull request #14 from funkyfuture/patch-1
Browse files Browse the repository at this point in the history
Dockerfile: Reduces layer overhead
  • Loading branch information
cuchi authored Apr 27, 2022
2 parents 55f4190 + 6783cff commit 3fa06ac
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
FROM python:3

WORKDIR /app
ENTRYPOINT ["/app/entrypoint.py"]

RUN pip install poetry
RUN poetry config virtualenvs.create false
COPY poetry.lock pyproject.toml ./
RUN poetry install
RUN pip install poetry \
&& poetry config virtualenvs.create false \
&& poetry install

COPY . ./

ENTRYPOINT ["./entrypoint.py"]

0 comments on commit 3fa06ac

Please sign in to comment.