mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
20 lines
373 B
Docker
20 lines
373 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", "python", "main.py"]
|