From a752fa7815f85d32bb15aa1a5f3235897b150cfa Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 28 Aug 2021 08:34:58 +0200 Subject: [PATCH] Update Dockerfile --- joplin/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/joplin/Dockerfile b/joplin/Dockerfile index ccaaba53a..15d8ccd24 100644 --- a/joplin/Dockerfile +++ b/joplin/Dockerfile @@ -28,7 +28,8 @@ RUN \ ################### # Copy root filesystem -USER joplin +ARG user=joplin +USER $user COPY --chown=$user:$user rootfs / RUN chmod +x /run.sh