From 6c6b9b076b508fe1ad12a8e8ef38f901160b520e Mon Sep 17 00:00:00 2001 From: Jason Yang Date: Sun, 1 Jun 2025 19:30:47 -0700 Subject: [PATCH] fix: using full distro to include ca-certificate supporting https connection --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 27bed14..01c9aef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,8 +19,10 @@ COPY backend/ ./ COPY --from=frontend /app/dist ./ui/dist RUN make -FROM scratch +FROM debian:bookworm-slim COPY --from=backend /app/main /bin/main +RUN apt update && apt install -y ca-certificates && rm -rf /var/lib/apt/lists/* + CMD [ "/bin/main" ]