Deployment scripts

This commit is contained in:
2026-04-29 23:53:51 +12:00
parent 5cb95266d8
commit 373f7c47c0
17 changed files with 1092 additions and 13 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
WORKDIR /app
COPY backend /app
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir .
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]