]> Untitled Git - lemmy.git/commitdiff
Leave no apk cache in Docker image (#3327)
authorPeter Dave Hello <hsu@peterdavehello.org>
Mon, 26 Jun 2023 09:59:02 +0000 (17:59 +0800)
committerGitHub <noreply@github.com>
Mon, 26 Jun 2023 09:59:02 +0000 (11:59 +0200)
docker/Dockerfile

index 5943e1710f72004066c8478568ef29c52f183013..01052751547c5d11208c01638bde17ec33272e39 100644 (file)
@@ -29,7 +29,7 @@ RUN \
 FROM alpine:3 as lemmy
 
 # Install libpq for postgres
-RUN apk add libpq
+RUN apk add --no-cache libpq
 
 # Copy resources
 COPY --from=builder /app/lemmy_server /app/lemmy