From 1745696e7a2506ad0d4c88d6513cffc9c241c63a Mon Sep 17 00:00:00 2001 From: "Adrian A. Baumann" Date: Sun, 28 Dec 2025 21:16:16 +0100 Subject: [PATCH] Add image libs to container for Pillow support --- Dockerfile | 9 ++++++++- argocd/deployment.yaml | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a701893..5c61ff7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,14 @@ COPY requirements.txt /app/ RUN pip install --no-cache-dir -r requirements.txt FROM python:3.14-slim -RUN useradd -m -r appuser && \ +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + libjpeg62-turbo \ + libtiff6 \ + libwebp7 \ + zlib1g && \ + rm -rf /var/lib/apt/lists/* && \ + useradd -m -r appuser && \ mkdir /app && \ chown -R appuser /app diff --git a/argocd/deployment.yaml b/argocd/deployment.yaml index b4bf478..58d3827 100644 --- a/argocd/deployment.yaml +++ b/argocd/deployment.yaml @@ -25,7 +25,7 @@ spec: mountPath: /data containers: - name: web - image: git.baumann.gr/adebaumann/labhelper:0.011 + image: git.baumann.gr/adebaumann/labhelper:0.012 imagePullPolicy: Always ports: - containerPort: 8000