Dockerfile: rename user to _gitea instead of git

This commit is contained in:
Cat /dev/Nulo 2023-07-10 12:15:04 -03:00
parent 3380217da1
commit d3a962d068

View file

@ -65,10 +65,10 @@ RUN addgroup \
-s /bin/bash \
-u 1000 \
-G git \
git && \
echo "git:*" | chpasswd -e
_gitea && \
echo "_gitea:*" | chpasswd -e
ENV USER git
ENV USER _gitea
ENV GITEA_CUSTOM /data/gitea
VOLUME ["/data"]