2026-05-25 19:23:07 +02:00
|
|
|
FROM python:3.12-slim
|
|
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
COPY pyproject.toml .
|
|
|
|
|
RUN pip install --no-cache-dir -e ".[mcp]"
|
|
|
|
|
|
|
|
|
|
COPY alembic.ini .
|
|
|
|
|
COPY alembic/ alembic/
|
|
|
|
|
COPY corvid/ corvid/
|
|
|
|
|
COPY entrypoint.sh .
|
2026-05-25 19:30:43 +02:00
|
|
|
# templates are bundled inside corvid/ package dir — no extra COPY needed
|
2026-05-25 19:23:07 +02:00
|
|
|
RUN chmod +x entrypoint.sh
|
|
|
|
|
|
|
|
|
|
EXPOSE 8080
|
|
|
|
|
CMD ["./entrypoint.sh"]
|