First commit

This commit is contained in:
2025-05-05 14:01:08 -05:00
parent d93cab7149
commit 2ad1d713cb
16 changed files with 396 additions and 0 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM python:3.12-slim
WORKDIR /app
COPY pyproject.toml .
RUN pip install uv && uv pip install -e .
COPY . .
ENV SUPER_ADMIN_USER=admin
ENV SUPER_ADMIN_PASSWORD=adminpassword
ENV DATABASE_PATH=/data/users.db
VOLUME /data
EXPOSE 8000
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8000"]