UA-Bot/Dockerfile
qugalet 66e906f139
Rewrite in Go
Signed-off-by: qugalet <qugalet@m0e.space>
2023-09-19 22:19:25 +03:00

16 lines
202 B
Docker

# syntax=docker/dockerfile:1
FROM golang:1.20
WORKDIR /app
COPY go.mod go.sum .
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o /app/uabot
ENTRYPOINT ["/app/entrypoint.sh"]