Skip to content

Commit

Permalink
build: optimize dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
MunifTanjim committed Oct 30, 2024
1 parent 3210370 commit 083efb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 083efb6

Please sign in to comment.