change default puid and guid to 1000

This commit is contained in:
FuzzyGrim
2023-09-29 21:02:17 +02:00
parent 1942339df1
commit a70875ad98
5 changed files with 6 additions and 12 deletions

View File

@@ -19,11 +19,9 @@ WORKDIR /yamtrack
COPY ./entrypoint.sh /entrypoint.sh
# create user abc for later PUID/PGID mapping https://github.com/linuxserver/docker-baseimage-alpine/blob/master/Dockerfile
RUN chmod +x /entrypoint.sh && \
groupmod -g 1000 users && \
useradd -u 911 -U -M -s /bin/bash abc && \
usermod -G users abc
# create user abc for later PUID/PGID mapping
useradd -U -M -s /bin/bash abc
# Django app
COPY src ./