3.14 -> 3.13
This commit is contained in:
@@ -1,13 +1,23 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM langchain/langgraph-api:3.12
|
||||
FROM python:3.13-slim
|
||||
|
||||
# Copy dependency files and install
|
||||
ADD pyproject.toml uv.lock /deps/agent/
|
||||
RUN cd /deps/agent && pip install --no-cache-dir -e .
|
||||
WORKDIR /app
|
||||
|
||||
# Install uv for fast dependency management
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||
|
||||
# Copy dependency files
|
||||
COPY pyproject.toml uv.lock ./
|
||||
|
||||
# Install dependencies
|
||||
RUN uv sync --frozen --no-dev --no-install-project
|
||||
|
||||
# Copy application code
|
||||
ADD main.py langgraph.json /deps/agent/
|
||||
COPY main.py langgraph.json ./
|
||||
|
||||
# Set the graph configuration
|
||||
ENV LANGSERVE_GRAPHS='{"vpi_1000": "/deps/agent/main.py:graph"}'
|
||||
# LangGraph API server port
|
||||
EXPOSE 8000
|
||||
|
||||
# Run LangGraph server
|
||||
CMD ["uv", "run", "langgraph", "up", "--host", "0.0.0.0", "--port", "8000"]
|
||||
|
||||
Reference in New Issue
Block a user