Docker dev and prod, staging refresh, multi-env galleries and operator docs

This commit is contained in:
2026-10-05 14:32:21 +02:00
parent 94ae750e56
commit 4268b1ec9e
12 changed files with 768 additions and 7 deletions
+9
View File
@@ -0,0 +1,9 @@
# retoor <retoor@molodetz.nl>
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
WORKDIR /app
COPY pyproject.toml README.md ./
COPY molodetz ./molodetz
RUN pip install --no-cache-dir --upgrade pip && pip install --no-cache-dir -e .
EXPOSE 8088
CMD ["python", "-m", "uvicorn", "molodetz.main:app", "--host", "0.0.0.0", "--port", "8088", "--reload", "--reload-dir", "molodetz"]