Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Sep 20, 2023
1 parent 2df8253 commit d772366
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions immich/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 #
Expand Down

0 comments on commit d772366

Please sign in to comment.