Bläddra i källkod

修改build.sh

ChenYu 7 månader sedan
förälder
incheckning
0a64907712
2 ändrade filer med 3 tillägg och 3 borttagningar
  1. BIN
      app/__pycache__/config.cpython-312.pyc
  2. 3 3
      build.sh

BIN
app/__pycache__/config.cpython-312.pyc


+ 3 - 3
build.sh

@@ -36,8 +36,8 @@ build() {
     echo "[+] Tag:     ${full_tag}"
     echo "[+] ================================"
 
-    echo "[+] Building Docker image (linux/amd64)..."
-    docker buildx build --platform linux/amd64 -t "${image_name}:${version}" .
+    echo "[+] Building Docker image..."
+    docker build -t "${image_name}:${version}" .
 
     echo "[+] Tagging image..."
     docker tag "${image_name}:${version}" "${full_tag}"
@@ -58,8 +58,8 @@ restart_app() {
     local remote=''
     local cmd=''
     local full_tag="${registry}/${image_name}:${version}-${env}"
-    local redis_host=''
 
+    local redis_host=''
     local redis_password='redis@aitori!@#'
     local redis_port='6379'
     local redis_db='1'