2026-07-10 01:34:31 +02:00
|
|
|
FROM python:3.12-slim
|
|
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
2026-07-12 15:58:22 +02:00
|
|
|
# Install system dependencies for asyncpg + git + docker-cli (MCP tools)
|
2026-07-10 01:34:31 +02:00
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
2026-07-12 15:58:22 +02:00
|
|
|
gcc libpq-dev git docker.io curl && \
|
2026-07-10 01:34:31 +02:00
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
COPY requirements.txt .
|
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
|
|
|
|
COPY app/ ./app/
|
|
|
|
|
|
|
|
|
|
EXPOSE 8000
|
|
|
|
|
|
|
|
|
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|