Skip to content

Create unprivileged user for notifypush service #66

@TheRealBecks

Description

@TheRealBecks

Something like:

RUN addgroup -S notifypush && adduser -S notifypush -G notifypush
# Set ownership for application files
COPY --chown=notifypush:notifypush . /notifypush
# Run as non-root user
USER notifypush

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions