This commit is contained in:
parent
39459202f1
commit
00657a8660
@ -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"]
|
Loading…
x
Reference in New Issue
Block a user