Build Dockerized MVP scaffold and records importer

This commit is contained in:
ik committed 2026-09-02 20:29:02 +07:00
1 parent a6f91a1329
commit d3a45248ef
39 files changed
+6638 -13

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
FROM python:3.12-slim
WORKDIR /app
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["sh", "-c", "alembic upgrade head && python -m app.seed && uvicorn app.main:app --host 0.0.0.0 --port 8000"]