Selaa lähdekoodia

minor: 打包脚本

tuon 1 vuosi sitten
vanhempi
commit
d3e0c21b01
3 muutettua tiedostoa jossa 6 lisäystä ja 2 poistoa
  1. 3 0
      build-nginx-with-ui.sh
  2. 2 1
      build-server.sh
  3. 1 1
      build.sh

+ 3 - 0
build-nginx-with-ui.sh

@@ -0,0 +1,3 @@
+#/usr/bin/sh
+export DOCKER_BUILDKIT=1
+docker build . -f docker/Dockerfile-with-nginx  -t tuonina/nginx-with-ui:latest

+ 2 - 1
build-server.sh

@@ -1,6 +1,7 @@
 #!/bin/bash
 CURRENT_DIR=$(cd $(dirname $0); pwd)
-mkdir ./local
+
+mkdir -p ./local
 mkdir -p ./local/data/db
 cp -rf ./server/conf ./local
 cp -rf ./server/static ./local

+ 1 - 1
build.sh

@@ -1,3 +1,3 @@
 #/usr/bin/sh
 export DOCKER_BUILDKIT=1
-docker build . -f docker/Dockerfile  -t nginx-ui:latest
+docker build . -f docker/Dockerfile  -t tuonina/nginx-ui:latest