You've already forked monobank-firefly3-bot
Remove load .env from bin path
Some checks failed
build docker image / docker-build (push) Failing after 51s
Some checks failed
build docker image / docker-build (push) Failing after 51s
This commit is contained in:
20
Dockerfile
Normal file
20
Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user