Files
copilotkit__copilotkit/examples/integrations/strands-python/docker/Dockerfile.agent
2026-04-09 08:33:21 -07:00

20 lines
414 B
Docker

FROM python:3.12-slim
RUN apt-get update && \
apt-get install -y --no-install-recommends curl && \
curl -LsSf https://astral.sh/uv/install.sh | sh && \
apt-get clean && rm -rf /var/lib/apt/lists/*
ENV PATH="/root/.local/bin:$PATH"
WORKDIR /app
COPY pyproject.toml uv.lock ./
COPY main.py ./
RUN uv sync
EXPOSE 8000
CMD ["uv", "run", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]