From 526045648b41904bc808c6d4f38dcdd0386821f2 Mon Sep 17 00:00:00 2001 From: petruknw Date: Thu, 21 May 2026 16:13:30 +1000 Subject: [PATCH] aurral: pre-create /app/backend/data/image-proxy at build time with correct permissions --- aurral/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aurral/Dockerfile b/aurral/Dockerfile index 2d069993ff..97b0a42019 100644 --- a/aurral/Dockerfile +++ b/aurral/Dockerfile @@ -20,6 +20,10 @@ ENV AURRAL_DATA_DIR=/config/data \ DOWNLOAD_FOLDER=/share/aurral/downloads \ 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 / RUN chmod a+x /usr/local/bin/docker-entrypoint.sh