monobank-firefly3-bot/Dockerfile
stuzer05 daf5f8fb03
All checks were successful
build docker image / docker-build (push) Successful in 47s
Add docker deploy
2024-11-04 19:54:06 +02:00

19 lines
241 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 /app/monobank-firefly3-bot /app
ENTRYPOINT ["/app"]