From 15d5e1f7a9a55445cbeab5c3fd0989bec30c0fba Mon Sep 17 00:00:00 2001 From: goulustis Date: Mon, 26 Jan 2026 17:39:36 +0800 Subject: [PATCH] make simple cmd --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4f9e151..974d511 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,8 +23,6 @@ COPY pyproject.toml ./ COPY lang_agent/ ./lang_agent/ COPY fastapi_server/ ./fastapi_server/ - - # Install Python dependencies inside micromamba env RUN python -m pip install --upgrade pip \ -i https://mirrors.aliyun.com/pypi/simple/ \ @@ -47,4 +45,9 @@ conda activate base\n\ exec "$@"' > /entrypoint.sh && chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] -CMD ["python", "fastapi_server/server_dashscope.py", "route"] \ No newline at end of file + +# Default command - will be overridden by docker-compose +CMD ["python", "fastapi_server/server_dashscope.py"] + + +# CMD ["python", "fastapi_server/server_dashscope.py", "route"] \ No newline at end of file