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 d82c596 commit 9ebeecb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ RUN --mount=type=bind,target=./pyproject.toml,src=./pyproject.toml \
python -m venv /ak-root/venv/ && \
pip3 install --upgrade pip && \
pip3 install poetry && \
pip3 install psycopg2-binary && \
poetry install --only=main --no-ansi --no-interaction

# Stage 6: Run
Expand All @@ -126,7 +125,6 @@ WORKDIR /
# We cannot cache this layer otherwise we'll end up with a bigger image
RUN apt-get update && \
# Required for runtime
apt-get install -y dumb-init && \
apt-get install -y --no-install-recommends libpq5 openssl libxmlsec1-openssl libmaxminddb0 && \
# Required for bootstrap & healtcheck
apt-get install -y --no-install-recommends runit && \
Expand Down Expand Up @@ -165,4 +163,5 @@ ENV TMPDIR=/dev/shm/ \

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

ENTRYPOINT [ "dumb-init", "--", "ak" ]
# ENTRYPOINT [ "dumb-init", "--", "ak" ]
ENTRYPOINT [ "/usr/local/bin/dumb-init", "--", "/lifecycle/ak" ]

0 comments on commit 9ebeecb

Please sign in to comment.