Skip to content

Commit 3fa06ac

Browse files
authored
Merge pull request #14 from funkyfuture/patch-1
Dockerfile: Reduces layer overhead
2 parents 55f4190 + 6783cff commit 3fa06ac

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
FROM python:3
22

33
WORKDIR /app
4+
ENTRYPOINT ["/app/entrypoint.py"]
45

5-
RUN pip install poetry
6-
RUN poetry config virtualenvs.create false
76
COPY poetry.lock pyproject.toml ./
8-
RUN poetry install
7+
RUN pip install poetry \
8+
&& poetry config virtualenvs.create false \
9+
&& poetry install
910

1011
COPY . ./
11-
12-
ENTRYPOINT ["./entrypoint.py"]

0 commit comments

Comments
 (0)