From c47fc1a3e7c1194cb3cb14112290a8f18e493831 Mon Sep 17 00:00:00 2001 From: Luca Date: Fri, 22 Dec 2023 18:23:55 +0100 Subject: [PATCH] Create group explicitly in Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7ff59a4..50a21ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,8 @@ ENV PORT=8000 ENV STATIC_DIR=/public/static EXPOSE 8000 -RUN adduser --disabled-password --home /app --system --uid 19143 ljg && \ +RUN addgroup --gid 19143 --system ljg && \ + adduser --disabled-password --home /app --in-group ljg --system --uid 19143 ljg && \ mkdir /public && \ chown -R 19143:19143 /public