diff --git a/immich/Dockerfile b/immich/Dockerfile index c6d243db4dc6..cf10b52f759b 100644 --- a/immich/Dockerfile +++ b/immich/Dockerfile @@ -34,8 +34,17 @@ RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_ls USER root -# Install PostgreSQL -ENV DEBIAN_FRONTEND=noninteractive +# Set shell +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +# Install REDIS +ENV DOCKER_MODS="imagegenius/mods:universal-redis" +RUN \ + echo "Installing REDIS" \ + && chmod 777 -R /docker-mods \ + && /./docker-mods/* || ls / \ + && if [ !-f /defaults/redis.conf ]; then echo "Not installed" && exit 1; fi +ENV DOCKER_MODS="" ################## # 3 Install apps #