mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-17 22:31:49 +02:00
Update Dockerfile
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user