double.huang 4 lat temu
rodzic
commit
dc980f45f0
2 zmienionych plików z 1 dodań i 3 usunięć
  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 mod tidy
     - 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:
   docker:
     registry: docker.qianqiusoft.com

+ 0 - 2
Dockerfile

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