main
Ricard Illa 2021-04-15 09:24:46 +02:00
parent 220abe277c
commit b890e22d0d
1 changed files with 3 additions and 3 deletions

View File

@ -19,13 +19,13 @@ RUN chmod +x /usr/local/bin/entrypoint && \
addgroup --gid 10001 dendrite && \ addgroup --gid 10001 dendrite && \
adduser \ adduser \
--uid 10000 \ --uid 10000 \
--home /var/dendrite \ --home /var/lib/dendrite \
--ingroup dendrite \ --ingroup dendrite \
--disabled-password \ --disabled-password \
--shell /sbin/nologin \ --shell /sbin/nologin \
dendrite && \ dendrite && \
mkdir -p /var/log/dendrite && \ mkdir -p /var/log/dendrite /var/dendrite/media && \
chown -R dendrite:dendrite /var/log/dendrite chown -R dendrite:dendrite /var/log/dendrite /var/dendrite
WORKDIR /etc/dendrite WORKDIR /etc/dendrite
USER dendrite USER dendrite