Commit 98b9c2b8 authored by zhengxiuming's avatar zhengxiuming

Peizhi

parent 726bdbde
......@@ -12,11 +12,13 @@ RUN go mod tidy
COPY . .
RUN pwd && ls
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -a -installsuffix cgo -o go-admin .
# RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -a -installsuffix cgo -o go-admin .
RUN go env && go build -o go-admin .
FROM alpine
COPY --from=builder /go/release/go-admin /
COPY --from=builder /go/release/config /config
COPY --from=builder /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
......
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