mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix(deployment): Add huggingface cache directory to Dockerfile (#30357)
* Add huggingface cache directory to Dockerfile Updated Dockerfile to include huggingface cache directory. * Update Dockerfile environment variables and comments Removed MPLCONFIGDIR environment variable and adjusted comments.
This commit is contained in:
parent
e9eafc3161
commit
161e15ee2f
1 changed files with 2 additions and 2 deletions
|
|
@ -160,8 +160,8 @@ ENV IMMICH_SOURCE_REF=${BUILD_SOURCE_REF}
|
||||||
ENV IMMICH_SOURCE_COMMIT=${BUILD_SOURCE_COMMIT}
|
ENV IMMICH_SOURCE_COMMIT=${BUILD_SOURCE_COMMIT}
|
||||||
ENV IMMICH_SOURCE_URL=https://github.com/immich-app/immich/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
|
# store huggingface in /cache subfolder to enable rootless deployment with a single volume
|
||||||
ENV MPLCONFIGDIR=/cache/matplotlib
|
ENV HF_HOME=/cache/hf-cache
|
||||||
|
|
||||||
ENTRYPOINT ["tini", "--"]
|
ENTRYPOINT ["tini", "--"]
|
||||||
CMD ["python", "-m", "immich_ml"]
|
CMD ["python", "-m", "immich_ml"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue