From 083efb665e80ffabf3a727cf812fe869769be131 Mon Sep 17 00:00:00 2001 From: Munif Tanjim Date: Wed, 30 Oct 2024 13:57:25 +0600 Subject: [PATCH] build: optimize dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f9558bc..f2b2603 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,8 @@ RUN apk add --no-cache \ make RUN pip install poetry -COPY . . +COPY pyproject.toml . RUN poetry install --no-cache --no-root --without dev +COPY . . ENTRYPOINT ["poetry", "run", "python", "-m", "comet.main"]