summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author韩丁康 <[email protected]>2023-12-18 20:25:44 +0800
committer韩丁康 <[email protected]>2023-12-18 20:25:44 +0800
commit2eba761b3ca912e10101177b04dc0f1bb2558f5b (patch)
treea7aff3db106fd29f3496e07ac6e738489a8fdddd
parent4ef372829b3646190284f49d17909f00e98c2ec2 (diff)
Dockerfile分阶段构建问题修复
-rw-r--r--Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index d219864..224d6f1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,7 +16,10 @@ RUN go env -w GO111MODULE=on;\
apt-get -yyqq install ca-certificates libcap2-bin; \
apt-get clean; \
go generate ; \
- go build -o ./ ./
+ go build -o ./ ./;
+
+
+
# 生成部署
FROM python:latest
WORKDIR /project/ohmydns2