aurral: use PUID/PGID=0 instead of chown for runtime permissions

This commit is contained in:
petruknw
2026-05-21 16:15:19 +10:00
parent d0f19aaa19
commit 4ecf6fb5dc

View File

@@ -18,12 +18,9 @@ LABEL \
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 and give ownership to
# the node user that the upstream image runs the process as.
RUN mkdir -p /app/backend/data/image-proxy \
&& chown -R node:node /app/backend/data
WEEKLY_FLOW_FOLDER=/share/aurral/downloads/weekly-flow \
PUID=0 \
PGID=0
COPY rootfs /