文件目录调整
This commit is contained in:
parent
aa9362bc34
commit
57f32f1cfc
|
@ -2,7 +2,7 @@ FROM golang:latest as gobulidIso
|
||||||
COPY ./ /go/src/wp-go
|
COPY ./ /go/src/wp-go
|
||||||
WORKDIR /go/src/wp-go
|
WORKDIR /go/src/wp-go
|
||||||
ENV GOPROXY="https://goproxy.cn"
|
ENV GOPROXY="https://goproxy.cn"
|
||||||
RUN go build -ldflags "-w" -tags netgo
|
RUN go build -ldflags "-w" -tags netgo -o wp-go internal/cmd/main.go
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
WORKDIR /opt/wp-go
|
WORKDIR /opt/wp-go
|
||||||
|
|
Loading…
Reference in New Issue
Block a user