Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
sdone44 committed Mar 12, 2024
1 parent 46fa93a commit 8d81c52
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,6 +103,8 @@ 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/ && \
source /ak-root/venv/bin/activate && \
poetry config virtualenvs.create false --local \
pip3 install --upgrade pip && \
pip3 install poetry && \
poetry install --only=main --no-ansi --no-interaction
Expand Down Expand Up @@ -152,8 +154,7 @@ 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
RUN ls /ak-root/venv/bin

USER 1000

Expand All @@ -164,8 +165,7 @@ ENV TMPDIR=/dev/shm/ \
VENV_PATH="/ak-root/venv" \
POETRY_VIRTUALENVS_CREATE=false

RUN ls /ak-root/venv \
ls /ak-root/venv/bin
RUN ls /ak-root/venv/bin

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

Expand Down

0 comments on commit 8d81c52

Please sign in to comment.