DEV Community

Discussion on: My favorite way to write a Dockerfile for a Python app

Collapse
 
nickmaris profile image
nickmaris

Why do you need "USER root"?

I didn't know that nodejs has best practices for docker. I wish ruby had too.

Collapse
 
ndfishe profile image
Nickolena

You really don't need it....it's definitely redundant, but I use as indicator for, "hey, these commands are running as root"