Initial commit
Some checks failed
release-tag / release-image (push) Failing after 3m50s

This commit is contained in:
2025-03-03 21:59:08 +01:00
commit c2ceaeb989
18 changed files with 1251 additions and 0 deletions

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM python:3.12-slim-bookworm
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
RUN apt-get update
RUN apt-get install -y libmariadb-dev build-essential
ADD . /app
WORKDIR /app
RUN uv sync --frozen --no-cache
CMD ["/app/.venv/bin/fastapi", "run", "api.py", "--port", "8888", "--host", "0.0.0.0"]