add alembic and store metrics at db

This commit is contained in:
2026-02-10 16:19:56 +04:00
parent f2a9520410
commit 3ff4b61492
17 changed files with 532 additions and 34 deletions

View File

@@ -3,6 +3,9 @@ FROM python:3-alpine
COPY ./requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt
COPY ./src /app
WORKDIR /app
COPY ./alembic /app/alembic
COPY ./alembic.ini /app/
COPY ./src /app/src
ENTRYPOINT fastapi run
ENTRYPOINT fastapi run src/main.py