Commit da1ee19e authored by ibuler's avatar ibuler

[Update] 修改dockerfile

parent c60c0073
......@@ -4,8 +4,8 @@ WORKDIR /opt/coco
ARG GOPROXY
ENV GOPROXY=$GOPROXY
ENV GO111MODULE=on
COPY go.mod go.sum ./
RUN apk update && apk add git
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN cd cmd && go build koko.go
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment