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"]