文件目录调整

This commit is contained in:
xing 2023-01-13 16:07:28 +08:00
parent aa9362bc34
commit 57f32f1cfc
2 changed files with 1 additions and 1 deletions

View File

@ -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