``update Add Docker build and deployment workflow for CMS and Ionic Mobile, update docker-compose.yml with new service images, and enhance documentation with strategy diagram and endpoint table``

This commit is contained in:
2025-05-24 08:21:33 +08:00
parent 1157bf0fda
commit cb8643b405
16 changed files with 462 additions and 85 deletions

View File

@@ -1,19 +1,27 @@
#!/usr/bin/env bash
set -ex
set -x
nvm use 22
node -v
while true; do
npm run start
echo "command restarted"
sleep 5
done
# sleep infinity
while true; do
if [ "$NODE_ENV" = "development" ]; then
npm i -D
npm run dev
else
# temp solution
npm run dev
fi
sleep 1
done
# # sleep infinity
# while true; do
# if [ "$NODE_ENV" = "development" ]; then
# npm i -D
# npm run dev
# else
# # temp solution
# npm run dev
# fi
# sleep 1
# done