diff --git a/Dockerfile b/Dockerfile index 6771d63..182c946 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,5 +48,5 @@ EXPOSE 8001 HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \ CMD curl -f http://localhost:8001/api/health || exit 1 -# 启动命令 - 使用优化的统一启动脚本 -CMD ["python3", "start_unified.py", "--profile", "balanced"] +# 启动命令 - profile通过环境变量PROFILE配置,默认为balanced +CMD ["sh", "-c", "python3 start_unified.py --profile ${PROFILE:-balanced}"]