Initial commit

This commit is contained in:
florian committed 2026-10-11 17:15:11 +02:00
1 parent 4b2ebfc252
commit 3a3d78c59b
1 file changed
+14
+14
View File
@@ -0,0 +1,14 @@
# Builder stage
FROM python:3.12-slim AS builder
WORKDIR /install
COPY requirements.txt .
RUN pip install --prefix=/install --no-cache-dir -r requirements.txt
WORKDIR /app
COPY src/ /app/
# Runtime image
FROM nvcr.io/nvidia/distroless/python:3.12-v4.1.6
COPY --from=builder /install /usr/local
COPY --from=builder /app /app
WORKDIR /app
ENTRYPOINT ["python", "main.py"]