stuzer05 34dce58d91
Some checks failed
build docker image / docker-build (push) Failing after 47s
Add docker deploy
2024-11-04 20:11:50 +02:00

20 lines
290 B
Docker

FROM golang:1.23.2 AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download && go mod verify
# Copy project files
COPY . .
# Build
RUN make
FROM scratch
COPY --from=builder /etc/ssl/cert /etc/ssl/certs
COPY --from=builder /app/monobank-firefly3-bot /app
ENTRYPOINT ["/app"]