#!/bin/bash # 启动后端Flask应用 cd /app/backend nohup python app.py > /app/logs/flask.log 2>&1 & # 启动nginx nginx -g "daemon off;"