Skip to content

Don't run node as root user in docker image #728

@Maxwellfire

Description

@Maxwellfire

I believe currently the dockerfile is written so that node is run with the root user. This goes against best security practices. I don't believe there is anything that pigallery does that needs a root user in the container. I believe the node image you are using provides user node which is recommended here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions