Remove load .env from bin path
Some checks failed
build docker image / docker-build (push) Failing after 51s

This commit is contained in:
2024-11-04 19:44:42 +02:00
parent 074c32a8f1
commit b05b1b9b48
2 changed files with 56 additions and 0 deletions

20
Dockerfile Normal file
View File

@ -0,0 +1,20 @@
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 go mod download \
&& make
FROM scratch
COPY --from=builder /app/monobank-firefly3-bot /app
ENTRYPOINT ["/app"]