Closed cy4n closed 5 years ago
by "Principle of least Privilege", no app should run with root permissions if not absolutely necessary
This works:
RUN addgroup -S demo && adduser -S demo -G demo
you're right, i copied from my debian-based dockerfile:-O my bad. anyway, with your update it achieved what i wanted,)
by "Principle of least Privilege", no app should run with root permissions if not absolutely necessary