We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcea9e5 commit 2028456Copy full SHA for 2028456
1 file changed
Dockerfile
@@ -19,10 +19,13 @@ COPY . .
19
RUN --mount=type=cache,target=/src/builder/target/ cargo build --target=$(cat /tmp/arch)-unknown-linux-musl --release && \
20
cp target/$(cat /tmp/arch)-unknown-linux-musl/release/modmail /tmp/modmail
21
22
+FROM alpine:latest AS get-ssl
23
+
24
FROM scratch
25
26
WORKDIR /src/app
27
-COPY --from=builder /tmp/hello .
28
+COPY --from=get-ssl /etc/ssl/certs /etc/ssl/certs
29
+COPY --from=builder /tmp/modmail .
30
31
CMD ["./modmail"]
0 commit comments