From 1098a04fb9c1912fcfecbd554d0f314679d0308e Mon Sep 17 00:00:00 2001 From: Lukas Frischknecht Date: Thu, 17 Feb 2022 19:27:40 +0100 Subject: [PATCH] fix: Update Permissions on Startup --- .docker/Dockerfile | 2 +- .docker/Dockerfile.multiarch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.docker/Dockerfile b/.docker/Dockerfile index 701547e..457a387 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -27,4 +27,4 @@ EXPOSE 5005 ENV NODE_ENV=production ENV PASSWORD=flame_password -CMD ["node", "server.js"] +CMD ["sh", "-c", "chown -R node /app/data && node server.js"] \ No newline at end of file diff --git a/.docker/Dockerfile.multiarch b/.docker/Dockerfile.multiarch index 42f5082..1c4fb20 100644 --- a/.docker/Dockerfile.multiarch +++ b/.docker/Dockerfile.multiarch @@ -28,4 +28,4 @@ EXPOSE 5005 ENV NODE_ENV=production ENV PASSWORD=flame_password -CMD ["node", "server.js"] \ No newline at end of file +CMD ["sh", "-c", "chown -R node /app/data && node server.js"] \ No newline at end of file