build agent correctly
Some checks failed
Build and Push Agent Docker Image / build (push) Failing after 1m10s
Build and Push Web Docker Image / build (push) Successful in 3m34s

This commit is contained in:
2025-12-12 23:36:41 +01:00
parent 8fe2376940
commit 535a04e2e8
6 changed files with 75 additions and 45 deletions

View File

@@ -1,23 +0,0 @@
# syntax=docker/dockerfile:1
FROM python:3.13-slim
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
COPY main.py langgraph.json ./
# LangGraph API server port
EXPOSE 8000
# Run LangGraph server
CMD ["uv", "run", "langgraph", "up", "--host", "0.0.0.0", "--port", "8000"]