From 01a0b78f04f6cd96ffc57e7a1b0886378c5433a4 Mon Sep 17 00:00:00 2001 From: Derek Anderson Date: Tue, 6 Feb 2024 23:23:36 -0600 Subject: [PATCH] Update Dockerfile_worker give appuser permissions to write to the app directory Signed-off-by: Derek Anderson --- docker/Dockerfile_worker | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile_worker b/docker/Dockerfile_worker index 97c9a75..2b6cc05 100644 --- a/docker/Dockerfile_worker +++ b/docker/Dockerfile_worker @@ -77,7 +77,8 @@ RUN /app/runtime/bls-runtime --help && \ /app/runtime/extensions/upshot-blockless-extension --help RUN groupadd -g 1001 ${USERNAME} \ - && useradd -m -d ${APP_PATH} -u 1001 -g 1001 ${USERNAME} + && useradd -m -d ${APP_PATH} -u 1001 -g 1001 ${USERNAME} \ + && chown -R ${USERNAME}:${USERNAME} /app USER ${USERNAME}