@echo off REM Windows生产环境启动脚本 REM 设置端口 set PORT=5000 if not defined DEPLOY_RUN_PORT set DEPLOY_RUN_PORT=%PORT% REM 设置工作目录 if not defined COZE_WORKSPACE_PATH set COZE_WORKSPACE_PATH=%cd% cd /d "%COZE_WORKSPACE_PATH%" echo Starting HTTP service on port %DEPLOY_RUN_PORT% for deploy... set PORT=%DEPLOY_RUN_PORT% node dist/server.js