Remove redundant home folder argument

This commit is contained in:
Aode 2020-02-16 15:10:34 -06:00
parent a6043ca056
commit 60a8cbe6e9

View file

@ -26,7 +26,7 @@ ARG GID=1001
RUN echo "Etc/UTC" > /etc/localtime && \
mkdir -p /opt/mastodon && \
addgroup --gid $GID mastodon && \
adduser -D -h /opt/mastodon -u $UID -G mastodon -h /opt/mastodon mastodon && \
adduser -D -u $UID -G mastodon -h /opt/mastodon mastodon && \
echo "mastodon:`head /dev/urandom | tr -dc A-Za-z0-9 | head -c 24 | mkpasswd -s -m sha-256`" | chpasswd && \
chown -R mastodon:mastodon /opt/mastodon