feat(T08): Docker, deployment & CI/CD – dockerfiles, compose, forgejo actions, readme

This commit is contained in:
Implementation Engineer
2026-07-10 01:34:31 +02:00
parent a1bba48cd7
commit 22acc39017
9 changed files with 498 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
FROM python:3.12-slim
WORKDIR /app
# Install system dependencies for asyncpg
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc libpq-dev && \
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"]