making sure /config and /metadata and are world writable for --user support incase they're not bind mounted.

This commit is contained in:
Vylyne 2025-10-01 13:36:04 -04:00
parent 0eb1905d1f
commit 6c79d28329

View File

@ -56,7 +56,10 @@ RUN apk add --no-cache --update \
shadow \
&& groupmod -g ${PGID} -n audiobookshelf node\
&& usermod -u ${PUID} -l audiobookshelf -d /home/audiobookshelf -m node \
&& apk del shadow
&& apk del shadow \
&& mkdir -p /config /metadata \
&& chown -R audiobookshelf:audiobookshelf /config /metadata \
&& chmod u=rwx,go=rw /config /metadata
WORKDIR /app