Move admin page into API, switch to HTTP Basic Auth

This commit is contained in:
2026-04-27 19:07:23 +02:00
parent 5bb864f34f
commit 6479f74d50
4 changed files with 165 additions and 11 deletions

View File

@@ -3,6 +3,7 @@ WORKDIR /app
COPY api/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY api/app/ ./app/
COPY api/static/ ./static/ # <-- Add this line
RUN mkdir -p /data
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]