Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sdone44 committed Mar 11, 2024
1 parent f5af58d commit ec53d78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ RUN --mount=type=bind,target=./pyproject.toml,src=./pyproject.toml \
--mount=type=cache,target=/root/.cache/pip \
--mount=type=cache,target=/root/.cache/pypoetry \
python -m venv /ak-root/venv/ && \
pip3 install --upgrade pip && \
pip3 install poetry && \
poetry install --only=main --no-ansi --no-interaction
/ak-root/venv/bin/pip3 install --upgrade pip && \
/ak-root/venv/bin/pip3 install poetry && \
/ak-root/venv/bin/poetry install --only=main --no-ansi --no-interaction

# Stage 6: Run
FROM docker.io/python:3.11.5-slim-bookworm AS final-image
Expand Down Expand Up @@ -163,4 +163,4 @@ ENV TMPDIR=/dev/shm/ \

HEALTHCHECK --interval=30s --timeout=30s --start-period=60s --retries=3 CMD [ "ak", "healthcheck" ]

ENTRYPOINT [ "/ak-root/venv/bin/dumb-init", "--", "ak" ]
ENTRYPOINT [ "dumb-init", "--", "ak" ]

0 comments on commit ec53d78

Please sign in to comment.