Bootstrap Python rewrite skeleton

This commit is contained in:
tliu93 committed 2026-04-19 20:19:58 +02:00
1 parent 7818a3fb44
commit 31390882ef
72 files changed
+2273 -62

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY app ./app
COPY alembic ./alembic
COPY alembic.ini ./
COPY scripts ./scripts
COPY README.md ./
RUN mkdir -p /app/data
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]