double.huang 4 年之前
父节点
当前提交
dc980f45f0
共有 2 个文件被更改,包括 1 次插入3 次删除
  1. 1 1
      .drone.yml
  2. 0 2
      Dockerfile

+ 1 - 1
.drone.yml

@@ -8,7 +8,7 @@ build:
     - go env -w GOPROXY=https://goproxy.cn,direct
     - go env -w GOPROXY=https://goproxy.cn,direct
     - go mod tidy
     - go mod tidy
     - CGO_ENABLED=0 go build -a -ldflags '-s'
     - CGO_ENABLED=0 go build -a -ldflags '-s'
-    - tar zcf i2-bill-erp.tar.gz etc i2-bill-erp
+    - tar zcf i2-bill-erp.tar.gz etc hosts entrypoint.sh i2-bill-erp
 publish:
 publish:
   docker:
   docker:
     registry: docker.qianqiusoft.com
     registry: docker.qianqiusoft.com

+ 0 - 2
Dockerfile

@@ -1,7 +1,5 @@
 FROM alpine
 FROM alpine
 ADD i2-bill-erp.tar.gz /app/
 ADD i2-bill-erp.tar.gz /app/
-ADD entrypoint.sh /app/
-ADD hosts /app/
 
 
 VOLUME [ "/app/etc" ]
 VOLUME [ "/app/etc" ]
 EXPOSE 8888
 EXPOSE 8888