fix(deployment): matplotlib in rootless deployments (#30328)

This commit is contained in:
Matthew Momjian 2026-07-28 10:57:21 -04:00 committed by GitHub
parent 8cb5bf92c2
commit 1094b69946
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View file

@ -160,6 +160,9 @@ ENV IMMICH_SOURCE_REF=${BUILD_SOURCE_REF}
ENV IMMICH_SOURCE_COMMIT=${BUILD_SOURCE_COMMIT}
ENV IMMICH_SOURCE_URL=https://github.com/immich-app/immich/commit/${BUILD_SOURCE_COMMIT}
# store matplotlib config in /cache subfolder to enable rootless deployment with a single volume
ENV MPLCONFIGDIR=/cache/matplotlib
ENTRYPOINT ["tini", "--"]
CMD ["python", "-m", "immich_ml"]