self-host langgraph
Some checks failed
Build and Push Agent Docker Image / build (push) Failing after 20s
Build and Push Web Docker Image / build (push) Failing after 3m10s

This commit is contained in:
2025-12-13 00:01:34 +01:00
parent 76e222a786
commit 0ff215c34f
7 changed files with 68 additions and 623 deletions

21
web/agent/Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
# syntax=docker/dockerfile:1
FROM python:3.13-slim
WORKDIR /app
# Install uv
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 server.py ./
EXPOSE 8000
CMD ["uv", "run", "python", "server.py"]