From 57f32f1cfc57624618fc61783ceae259cf406e03 Mon Sep 17 00:00:00 2001 From: xing Date: Fri, 13 Jan 2023 16:07:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=9B=AE=E5=BD=95=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- main.go => internal/cmd/main.go | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename main.go => internal/cmd/main.go (100%) 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