Update Dockerfile

This commit is contained in:
2vb 2024-05-14 17:27:16 -07:00
parent d3c1c7380f
commit d5172dc21c

View File

@ -2,7 +2,7 @@ FROM golang:1.22
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY * ./
COPY . ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /snow
EXPOSE 3000
CMD ["/snow"]