Update build.sh

fix the bug:"cp: target './nginx/dist' is not a directory"
This commit is contained in:
youngerLFC
2025-04-29 16:55:46 +08:00
committed by GitHub
parent 87c0e061ba
commit a9c2837709

View File

@@ -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
./push.sh