mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-22 22:10:31 +02:00
aurral: fix image-proxy dir permissions - chown node, not 777
This commit is contained in:
@@ -20,9 +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
|
# Pre-create the image-proxy directory at build time and give ownership to
|
||||||
# (which may not run as root) can write to it without a mkdir at runtime.
|
# the node user that the upstream image runs the process as.
|
||||||
RUN mkdir -p /app/backend/data/image-proxy && chmod -R 777 /app/backend/data
|
RUN mkdir -p /app/backend/data/image-proxy \
|
||||||
|
&& chown -R node:node /app/backend/data
|
||||||
|
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user