UA-Bot/Dockerfile

16 lines
202 B
Text
Raw Normal View History

# 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"]