Files
backend-api/Dockerfile
T
florian cda16476a4 Feature/windows notifications (#9)
Reviewed-on: #9
- Added pulling notifications from new backend service backend-pull-notifications
- Added Ruff Linting

Co-authored-by: Florian <flo@meergans.org>
2026-10-13 08:14:52 +00:00

15 lines
371 B
Docker

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