vale46n1 / immich_duplicate_finder

A Comprehensive Solution for Identifying and Managing Duplicate Photos in Immich
Apache License 2.0
184 stars 12 forks source link

Add pip cache purge to Dockerfile #24

Closed AlmightyFrog closed 4 months ago

AlmightyFrog commented 4 months ago

Low hanging fruit to reduce container size, e.g. at my build from 9.15GB to 6.34GB.

If interested, further improvements would be easily possible, e.g.:

janstadt commented 4 months ago

Running on unraid with an already modified docker.img file of 30gb and with all my other containers im hitting that limit with this one. Would be great to have a volume to mount deps to or something to keep the actual container size smaller.

AlmightyFrog commented 4 months ago

An Github Actions docker container build could also be added with only minor effort.

mmomjian commented 4 months ago

@AlmightyFrog I briefly tried a non root container and it failed - I forget which step. I think it was something about setting up the ML models that wanted to write to a root owned folder.