Update Dockerfile
This commit is contained in:
parent
d3c1c7380f
commit
d5172dc21c
|
@ -2,7 +2,7 @@ FROM golang:1.22
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY go.mod go.sum ./
|
COPY go.mod go.sum ./
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
COPY * ./
|
COPY . ./
|
||||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /snow
|
RUN CGO_ENABLED=0 GOOS=linux go build -o /snow
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD ["/snow"]
|
CMD ["/snow"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user