From e71e6eff7cff9706ba890869a7d3b5a1e96b057f Mon Sep 17 00:00:00 2001 From: Paramtamtam <7326800+tarampampam@users.noreply.github.com> Date: Fri, 5 Jul 2024 13:58:09 +0400 Subject: [PATCH] fix: Forgot to include the SSL certificates in the Docker image --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a8649c14..4be9c34e 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