mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-07-20 10:04:08 +00: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:
parent
154e3945c9
commit
f2d6f09671
3 changed files with 4 additions and 1 deletions
|
@ -9,7 +9,8 @@ LABEL org.opencontainers.image.licenses="Apache-2.0, GPL-2.0"
|
|||
LABEL org.opencontainers.image.title="ntfy"
|
||||
LABEL org.opencontainers.image.description="Send push notifications to your phone or desktop using PUT/POST"
|
||||
|
||||
RUN apk add --no-cache tzdata
|
||||
RUN apk add --no-cache tzdata \
|
||||
&& adduser -D -u 1000 ntfy
|
||||
COPY ntfy /usr/bin
|
||||
|
||||
EXPOSE 80/tcp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue