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