rogueserver/dockerfile
2024-05-08 19:53:07 +02:00

16 lines
182 B
Plaintext

FROM golang:1.22
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /docker-gs-ping
EXPOSE 8001
CMD ["/docker-gs-ping"]