From 699d9e634cdb7a3fd37ee0a0f8e6edb54be353fe Mon Sep 17 00:00:00 2001 From: Chris Watson Date: Sun, 17 Nov 2024 21:30:53 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20feat(docker):=20add=20ca-certifi?= =?UTF-8?q?cates=20to=20enable=20SMTP=20over=20TLS=20communication?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1998421..73e0519 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,9 @@ WORKDIR /usr/app COPY --from=build /build/src/app /usr/app +# Copy ca-certificates for TLS (specifically STARTTLS for SMTP) +COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ + COPY ./views /usr/app/views COPY ./public /usr/app/public