Closed orion110217 closed 7 years ago
All of our images already contain a non-root user for this purpose. The user is called node
Your app should reside in /home/node/app
Where can i read about that? Sorry to ask about that, anything that I can learn is very valuable to me. Thank you! I will try it.
Oh god, I can't believe I missed that. Thank you!
I have an app that serves html files generated by EJS, and semantic-ui as my css, the problem is while running nodejs as root, it is not safe so i decided to create a non root user in the Dockerfile, this in turn throws EACCESS error in semantic fonts:
Is there any alternative to the non root user, or am i need to use chown after creating the user?