File size: 484 Bytes
6fb4ca0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:3.12-slim

# Install uv.
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/

# Set the working directory.
WORKDIR /app

# Install the application dependencies.
COPY uv.lock pyproject.toml README.md ./
RUN uv sync --frozen --no-cache

# Copy the application into the container.
COPY src/structuring_ideas_agent structuring_ideas_agent/

CMD ["/app/.venv/bin/fastapi", "run", "structuring_ideas_agent/infrastructure/api/main.py", "--port", "8000", "--host", "0.0.0.0"]