From 5d36397f2f7bdd25381b06f07c0b53f41d91d6de Mon Sep 17 00:00:00 2001 From: Stefan Allius Date: Thu, 9 Nov 2023 20:17:19 +0100 Subject: [PATCH] remover apk from the final image --- app/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Dockerfile b/app/Dockerfile index b12f671..51bec0a 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -52,6 +52,8 @@ COPY --from=builder /root/wheels /root/wheels RUN python -m pip install --no-cache --no-index /root/wheels/* && \ rm -rf /root/wheels +RUN apk --purge del apk-tools + # copy the content of the local src and config directory to the working directory COPY --chmod=0700 entrypoint.sh /root/entrypoint.sh COPY config .