From d6f5b87d3f2c58b2ff159d0d3e64a4799cef6e96 Mon Sep 17 00:00:00 2001 From: Dedy Martadinata S Date: Sat, 7 May 2022 10:41:53 +0700 Subject: [PATCH] also correctly create user home --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2c30479..6b5bd3f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ ENV GID=1000 ENV USER=youtube ENV NO_UPDATE_NOTIFIER=true ENV PM2_HOME=/app/pm2 -RUN groupadd -g $GID $USER && useradd --system -g $USER --uid $UID $USER && \ +RUN groupadd -g $GID $USER && useradd --system -m -g $USER --uid $UID $USER && \ apt update && \ apt install -y --no-install-recommends curl ca-certificates && \ curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \