diff --git a/Dockerfile b/Dockerfile index 9e5aea7..e383023 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM golang:latest as gobulidIso COPY ./ /go/src/wp-go WORKDIR /go/src/wp-go 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 WORKDIR /opt/wp-go diff --git a/main.go b/internal/cmd/main.go similarity index 100% rename from main.go rename to internal/cmd/main.go