update docker build scripts

This commit is contained in:
Liujian committed 2025-07-24 15:38:26 +08:00
1 parent deb0161a3a
commit 99c33234bf
3 files changed
+8 -8

No files matched your search

+3 -3
View File
@@ -27,8 +27,6 @@ fi
# 执行环境检查
check_uv_env
echo $VERSION > .version
if [ -f .env.example ]; then
cp .env.example .env
fi
@@ -38,10 +36,12 @@ python ./init_db.py
nohup uvicorn services.admin_service.main:app --host 0.0.0.0 --port 8001 --reload > ${LOG_DIR}/admin_service.log 2>&1 &
sleep 5s
nohup uvicorn services.api_service.main:app --host 0.0.0.0 --port 8002 --reload > ${LOG_DIR}/api_service.log 2>&1 &
cd frontend/ && nohup node server.js > ${LOG_DIR}//frontend.log 2>&1 &
sleep 5s
sleep 2s
tail -F ${LOG_DIR}/*.log