From a9c2837709464e19dac00e6aacd93aed794b9931 Mon Sep 17 00:00:00 2001 From: youngerLFC <112275289+youngerLFC@users.noreply.github.com> Date: Tue, 29 Apr 2025 16:55:46 +0800 Subject: [PATCH] Update build.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix the bug:"cp: target './nginx/dist' is not a directory" --- docker/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/build.sh b/docker/build.sh index 2a73866e7..5b1016fc3 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -9,6 +9,7 @@ cd wvp-GB28181-pro/web_src && \ npm run build cd ../../ +mkdir -p ./nginx/dist cp -r wvp-GB28181-pro/src/main/resources/static/* ./nginx/dist echo "构建ZLM容器" @@ -41,4 +42,4 @@ chmod +x ./build.sh ./build.sh cd ../ -./push.sh \ No newline at end of file +./push.sh