diff --git a/Dockerfile b/Dockerfile index 2ed4ccec5..52e9c8ee1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Lock python dependencies -FROM docker.io/python:3.9-bullseye as locker +FROM docker.io/python:3.9-slim-bullseye as locker COPY ./Pipfile /app/ COPY ./Pipfile.lock /app/ @@ -47,7 +47,7 @@ COPY ./go.sum /work/go.sum RUN go build -o /work/authentik ./cmd/server/main.go # Stage 5: Run -FROM docker.io/python:3.9-bullseye +FROM docker.io/python:3.9-slim-bullseye WORKDIR / COPY --from=locker /app/requirements.txt /