Commit 182b4f89 authored by ibuler's avatar ibuler

[Update] 修改dockerfile

parent d2e789de
......@@ -4,8 +4,10 @@ WORKDIR /opt/coco
ARG GOPROXY
ENV GOPROXY=$GOPROXY
ENV GO111MODULE=on
COPY . .
COPY go.mod go.sum ./
RUN apk update && apk add git
RUN go mod download
COPY . .
RUN cd cmd && go build koko.go
FROM alpine
......
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