From 46fa93a7fc27f0148397eb51f5e3aad1c4c5aae8 Mon Sep 17 00:00:00 2001 From: Meng <381618248@qq.com> Date: Tue, 12 Mar 2024 09:36:21 +0800 Subject: [PATCH] test --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9be47e97c..c248a8bc0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -152,6 +152,9 @@ COPY --from=web-builder /work/web/authentik/ /web/authentik/ COPY --from=website-builder /work/website/help/ /website/help/ COPY --from=geoip /usr/share/GeoIP /geoip +RUN ls /ak-root/venv \ + ls /ak-root/venv/bin + USER 1000 ENV TMPDIR=/dev/shm/ \ @@ -161,6 +164,9 @@ ENV TMPDIR=/dev/shm/ \ VENV_PATH="/ak-root/venv" \ POETRY_VIRTUALENVS_CREATE=false +RUN ls /ak-root/venv \ + ls /ak-root/venv/bin + HEALTHCHECK --interval=30s --timeout=30s --start-period=60s --retries=3 CMD [ "ak", "healthcheck" ] ENTRYPOINT [ "/ak-root/venv/bin/dumb-init", "--", "ak" ]