From 00657a8660f8f0646e0f6aabb2408f3f85695546 Mon Sep 17 00:00:00 2001 From: stuzer05 Date: Mon, 4 Nov 2024 20:18:07 +0200 Subject: [PATCH] Add docker deploy --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c01a56c..eb2b7c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM golang:1.23.2 AS builder +RUN apt-get update && apt-get install -y ca-certificates + WORKDIR /app COPY go.mod go.sum ./ @@ -14,7 +16,7 @@ RUN make FROM scratch -COPY --from=builder /etc/ssl/* /etc/ssl +COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs COPY --from=builder /app/monobank-firefly3-bot /app ENTRYPOINT ["/app"] \ No newline at end of file