Signed-off-by: allan716 <[email protected]>
@@ -27,3 +27,4 @@
/internal/pkg/Logs
/internal/pkg/emby_helper/config.yaml
/cmd/chinesesubfinder/config.yaml
+/*.exe
@@ -12,7 +12,7 @@ ENV GOPROXY https://goproxy.cn,direct
WORKDIR /homelab/buildspace
COPY . .
# 执行编译,-o 指定保存位置和程序编译名称
-RUN go build -ldflags="-s -w" cmd/chinesesubfinder/main.go -o /app/chinesesubfinder
+RUN go build -ldflags="-s -w" ./cmd/chinesesubfinder/main.go -o /app/chinesesubfinder
# 运行时环境
FROM lsiobase/ubuntu:bionic