From b67706473368416ec77e1a4a0b3d048498fe8ead Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=D0=B0ramtamt=C4=81m?= <7326800+tarampampam@users.noreply.github.com> Date: Fri, 5 Jul 2024 03:01:06 -0700 Subject: [PATCH] fix: Forgot to include the SSL certificates in the Docker image (#292) --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a8649c1..4be9c34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,9 +46,10 @@ WORKDIR /tmp/rootfs # prepare rootfs for runtime RUN set -x \ - && mkdir -p ./etc ./bin \ + && mkdir -p ./etc/ssl/certs ./bin \ && echo 'appuser:x:10001:10001::/nonexistent:/sbin/nologin' > ./etc/passwd \ - && echo 'appuser:x:10001:' > ./etc/group + && echo 'appuser:x:10001:' > ./etc/group \ + && cp /etc/ssl/certs/ca-certificates.crt ./etc/ssl/certs/ # take the binary from the compile stage COPY --from=compile /tmp/error-pages ./bin/error-pages