mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-11-24 20:05:41 +01:00
making sure /config and /metadata and are world writable for --user support incase they're not bind mounted.
This commit is contained in:
parent
0eb1905d1f
commit
6c79d28329
@ -56,7 +56,10 @@ RUN apk add --no-cache --update \
|
|||||||
shadow \
|
shadow \
|
||||||
&& groupmod -g ${PGID} -n audiobookshelf node\
|
&& groupmod -g ${PGID} -n audiobookshelf node\
|
||||||
&& usermod -u ${PUID} -l audiobookshelf -d /home/audiobookshelf -m 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
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user