EddyGiusepe's picture
feat: my structure for Agent AI
6fb4ca0
raw
history blame contribute delete
484 Bytes
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"]