Browse Source

1、minor: 打包脚本

tuon 1 year ago
parent
commit
0a72ea7b0d
2 changed files with 5 additions and 11 deletions
  1. 5 6
      dev.sh
  2. 0 5
      docker-compose-dev.yaml

+ 5 - 6
dev.sh

@@ -1,6 +1,5 @@
-#/usr/bin/sh
-export DOCKER_BUILDKIT=1
-docker-compose -f ./docker-compose-dev.yaml build
-docker-compose -f ./docker-compose-dev.yaml up -d
-
-
+#/usr/bin/sh
+./build-nginx-with-ui.sh
+docker-compose -f ./docker-compose-dev.yaml up -d
+
+

+ 0 - 5
docker-compose-dev.yaml

@@ -4,11 +4,6 @@ version: "3"
 
 services:
   nginx-with-ui:
-    build:
-      context: ./
-      dockerfile: docker/Dockerfile-with-nginx
-    environment:
-      - DOCKER_BUILDKIT=1
     image: registry.cn-hangzhou.aliyuncs.com/tuon-pub/nginx-with-ui
     restart: always
     container_name: nginx-with-ui