Skip to content

Commit

Permalink
Use alpine:3.18 base image like before
Browse files Browse the repository at this point in the history
  • Loading branch information
pederhan committed Nov 11, 2024
1 parent e521a16 commit a22806d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN uv venv \
ENTRYPOINT [ "/bin/sh" ]

# final stage
FROM python:3.11-alpine
FROM alpine:3.18
EXPOSE 8000

COPY entrypoint* manage.py /app/
Expand All @@ -29,7 +29,7 @@ COPY hostpolicy /app/hostpolicy/
COPY --from=builder /usr/src/mreg/wheels /wheels
COPY --from=ghcr.io/astral-sh/uv:0.4.30 /uv /uvx /bin/
RUN apk update && apk upgrade \
&& apk add libldap vim findutils \
&& apk add python3 libldap vim findutils \
&& uv venv \
&& uv pip install --no-cache /wheels/*
RUN chmod a+x /app/entrypoint*
Expand Down

0 comments on commit a22806d

Please sign in to comment.