Ticket 5.1 – Dockerfile für FastAPI-App erstellen #13
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Beschreibung:
Dockerfile anlegen:
Base-Image: python:3.12-slim (oder ähnlich).
requirements.txt kopieren + installieren.
App-Code kopieren.
CMD mit uvicorn app.main:app --host 0.0.0.0 --port 8000.
Akzeptanzkriterien:
docker build erzeugt lauffähiges Image.
Container startet, /health ist erreichbar.