initial wip

This commit is contained in:
Bernhard Radermacher
2025-08-28 16:01:44 +00:00
parent d318f650a2
commit 4e9fd3d394
13 changed files with 216 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM python:3
LABEL authors="Bernhard Radermacher"
RUN pip install mariadb pymysql sqlmodel uvicorn fastapi
ENV DB_USER="must be set" \
DB_PASSWORD="must be set" \
DB_HOST="mariadb" \
DB_PORT=3306 \
DB_DATABASE="vpsx"
COPY src /src
COPY main.py /
ENTRYPOINT ["/usr/local/bin/uvicorn", "main:app", "--host", "0.0.0.0"]