Update Dockerfile

This commit is contained in:
Alexandre
2022-01-18 20:36:14 +01:00
committed by GitHub
parent 7547bdb842
commit 8b6664ee8e

View File

@@ -25,12 +25,13 @@ FROM photoprism/photoprism:latest
RUN \
# Create directories
mkdir -m 777 -p \
mkdir -p \
/data/photoprism/originals \
/data/photoprism/import \
/data/photoprism/storage/config \
/data/photoprism/backup \
/data/photoprism/storage/cache && \
chmod -R 777 /data/photoprism \
chown -Rf photoprism:photoprism /data/photoprism && \
chmod -Rf a+rwx /data/photoprism && \
# rename entrypoint