1
0
Fork 0
immich-folder-album-creator/Dockerfile

11 lines
453 B
Docker
Raw Normal View History

2024-02-24 13:15:57 +00:00
FROM python:3.12-alpine
LABEL maintainer="Salvoxia <salvoxia@blindfish.info>"
COPY immich_auto_album.py requirements.txt docker/immich_auto_album.sh docker/setup_cron.sh /script/
RUN pip install --no-cache-dir -r /script/requirements.txt \
&& chmod +x /script/setup_cron.sh /script/immich_auto_album.sh \
&& rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/*
WORKDIR /script
CMD ["sh", "-c", "/script/setup_cron.sh && crond -f"]