fix(docker): create and chown /config home directory for non-root user

Co-authored-by: Belphemur <197810+Belphemur@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-07-03 15:15:49 +00:00
committed by GitHub
co-authored by Belphemur
parent eca9671881
commit ab1e2ff05c
+3 -2
View File
@@ -12,7 +12,6 @@ ENV VENDOR_PATH=/usr/bin
RUN adduser \
-S \
-D \
-H \
-h "${CONFIG_FOLDER}" \
-u "${PUID}" \
-G users \
@@ -27,7 +26,9 @@ RUN apk add --no-cache \
bash-completion \
libwebp-tools && \
chmod +x ${APP_PATH} && \
${APP_PATH} completion bash > /etc/bash_completion.d/CBZOptimizer.bash
${APP_PATH} completion bash > /etc/bash_completion.d/CBZOptimizer.bash && \
mkdir -p "${CONFIG_FOLDER}" && \
chown -R "${PUID}":users "${CONFIG_FOLDER}"
USER ${USER}