1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-11-29 19:59:59 +01:00

Added non-root user to docker images. This gives you the ability to run ntfy as a non-root user. resolves #966

This commit is contained in:
Adam Rahja 2023-11-30 08:08:52 -06:00
parent 154e3945c9
commit f2d6f09671
3 changed files with 4 additions and 1 deletions

View file

@ -12,6 +12,7 @@ LABEL org.opencontainers.image.description="Send push notifications to your phon
# Alpine does not support adding "tzdata" on ARM anymore, see
# https://github.com/binwiederhier/ntfy/issues/894
RUN adduser -D -u 1000 ntfy
COPY ntfy /usr/bin
EXPOSE 80/tcp