snow/Dockerfile

9 lines
155 B
Docker
Raw Normal View History

2024-05-15 00:20:23 +00:00
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 /snow
EXPOSE 3000
CMD ["/snow"]