mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-26 16:00:31 +02:00
aurral: pre-create /app/backend/data/image-proxy at build time with correct permissions
This commit is contained in:
@@ -20,6 +20,10 @@ ENV AURRAL_DATA_DIR=/config/data \
|
|||||||
DOWNLOAD_FOLDER=/share/aurral/downloads \
|
DOWNLOAD_FOLDER=/share/aurral/downloads \
|
||||||
WEEKLY_FLOW_FOLDER=/share/aurral/downloads/weekly-flow
|
WEEKLY_FLOW_FOLDER=/share/aurral/downloads/weekly-flow
|
||||||
|
|
||||||
|
# Pre-create the image-proxy directory at build time so the node process
|
||||||
|
# (which may not run as root) can write to it without a mkdir at runtime.
|
||||||
|
RUN mkdir -p /app/backend/data/image-proxy && chmod -R 777 /app/backend/data
|
||||||
|
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
RUN chmod a+x /usr/local/bin/docker-entrypoint.sh
|
RUN chmod a+x /usr/local/bin/docker-entrypoint.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user