bot/Dockerfile

13 lines
168 B
Docker
Raw Permalink Normal View History

2023-02-06 21:58:22 +01:00
FROM golang:1.19
WORKDIR /usr/src/app/
COPY go.mod go.sum ./
RUN go mod download && go mod verify
COPY . .
RUN go build -v -o /usr/local/bin/bot ./...
CMD ["bot"]