Update Dockerfile

This commit is contained in:
Alexandre
2021-08-27 17:38:51 +02:00
committed by GitHub
parent 6b8c3fe07a
commit 659425c87f

View File

@@ -34,15 +34,6 @@ RUN \
# Configure image # # Configure image #
################### ###################
\ \
# Create directories
&& mkdir -m 777 -p \
/data/photoprism/originals \
/data/photoprism/import \
/data/photoprism/storage/config \
/data/photoprism/backup \
/data/photoprism/storage/cache && \
chown -Rf photoprism:photoprism /data/photoprism && \
chmod -Rf a+rwx /data/photoprism \
# Allow execution of run # Allow execution of run
&& chmod 777 /run.sh && chmod 777 /run.sh