Rewrote the Flask server into a FastAPI one that has Prometheus metrics and connects to a database

This commit is contained in:
florian committed 2025-10-09 20:21:04 +02:00
1 parent 0d04a0f790
commit db70de7659
13 files changed
+294 -124

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
FROM python:3.12-slim
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
WORKDIR /app
COPY src/ /app/
ENTRYPOINT ["python","main.py"]