added local api

This commit is contained in:
2026-06-11 08:38:08 +03:00
parent 81eaa95df3
commit 8fd7e85c83
39 changed files with 3224 additions and 723 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM python:3.12-slim
WORKDIR /app
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
LORATESTER_HOST=0.0.0.0 \
LORATESTER_PORT=7634 \
LORATESTER_DB=/data/loratester.db
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7634
CMD ["uvicorn", "fastapi_app:app", "--host", "0.0.0.0", "--port", "7634"]