Merge pull request #314 from LuckyF/chown-on-startup

fix: Update Permissions on Startup
This commit is contained in:
pawelmalak 2022-03-21 11:46:57 +01:00 committed by GitHub
commit 58d021dde6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -27,4 +27,4 @@ EXPOSE 5005
ENV NODE_ENV=production ENV NODE_ENV=production
ENV PASSWORD=flame_password ENV PASSWORD=flame_password
CMD ["node", "server.js"] CMD ["sh", "-c", "chown -R node /app/data && node server.js"]

View file

@ -28,4 +28,4 @@ EXPOSE 5005
ENV NODE_ENV=production ENV NODE_ENV=production
ENV PASSWORD=flame_password ENV PASSWORD=flame_password
CMD ["node", "server.js"] CMD ["sh", "-c", "chown -R node /app/data && node server.js"]