From a0d5680531dd3c38caf8fef7d8056af8dbf24fc4 Mon Sep 17 00:00:00 2001 From: Ashutosh Date: Thu, 2 Oct 2025 20:15:52 +0530 Subject: [PATCH] added docker container --- .../python/agents/content_planner/.dockerignore | 8 ++++++++ samples/python/agents/content_planner/Dockerfile | 15 +++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 samples/python/agents/content_planner/.dockerignore create mode 100644 samples/python/agents/content_planner/Dockerfile diff --git a/samples/python/agents/content_planner/.dockerignore b/samples/python/agents/content_planner/.dockerignore new file mode 100644 index 00000000..6c991a9b --- /dev/null +++ b/samples/python/agents/content_planner/.dockerignore @@ -0,0 +1,8 @@ +__pycache__/ +*.pyc +*.pyo +*.pyd +*.log +*.md +.git/ +.env \ No newline at end of file diff --git a/samples/python/agents/content_planner/Dockerfile b/samples/python/agents/content_planner/Dockerfile new file mode 100644 index 00000000..3c292d6a --- /dev/null +++ b/samples/python/agents/content_planner/Dockerfile @@ -0,0 +1,15 @@ +FROM python:3.13-slim + +COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ + +EXPOSE 10001 +WORKDIR /app + +COPY . ./ + +RUN uv sync + +# Run your agent +ENTRYPOINT ["uv", "run", ".","--host", "0.0.0.0", "--port", "10001"] + +