From e47559ecb69cfd9ee5a9e01736a59dbaac0d2b15 Mon Sep 17 00:00:00 2001 From: cde-barros Date: Tue, 3 Sep 2024 17:49:01 +0200 Subject: [PATCH] Configuration API env --- tools/docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index dfb4283dd4..af1bb57695 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -21,7 +21,9 @@ ENV ASSETS_DIRECTORY_OVERRIDE "" ENV CUSTOM_SCRIPTS_DIRECTORY "" COPY dist/apps/${APP_NAME} /opt/catalogue/ -CMD chmod u+w /opt/catalogue/assets/configuration/default.toml +RUN chown www-data:www-data /opt/catalogue/assets/configuration/default.toml + +USER www-data EXPOSE 8080