mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-22 11:24:04 +01:00
Updated the ntfy user uuid to 10,000+ to follow best practices.
This commit is contained in:
parent
3de5a4f2a2
commit
5d2351a13a
3 changed files with 4 additions and 3 deletions
|
@ -10,7 +10,7 @@ LABEL org.opencontainers.image.title="ntfy"
|
||||||
LABEL org.opencontainers.image.description="Send push notifications to your phone or desktop using PUT/POST"
|
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 \
|
||||||
&& /usr/sbin/adduser -D -u 1000 ntfy
|
&& /usr/sbin/adduser -D -u 10001 ntfy
|
||||||
COPY ntfy /usr/bin
|
COPY ntfy /usr/bin
|
||||||
|
|
||||||
EXPOSE 80/tcp
|
EXPOSE 80/tcp
|
||||||
|
|
|
@ -12,7 +12,8 @@ LABEL org.opencontainers.image.description="Send push notifications to your phon
|
||||||
# Alpine does not support adding "tzdata" on ARM anymore, see
|
# Alpine does not support adding "tzdata" on ARM anymore, see
|
||||||
# https://github.com/binwiederhier/ntfy/issues/894
|
# https://github.com/binwiederhier/ntfy/issues/894
|
||||||
|
|
||||||
RUN /usr/sbin/adduser -D -u 1000 ntfy
|
RUN /usr/sbin/adduser -D -u 10001 ntfy
|
||||||
|
|
||||||
COPY ntfy /usr/bin
|
COPY ntfy /usr/bin
|
||||||
|
|
||||||
EXPOSE 80/tcp
|
EXPOSE 80/tcp
|
||||||
|
|
|
@ -53,7 +53,7 @@ LABEL org.opencontainers.image.licenses="Apache-2.0, GPL-2.0"
|
||||||
LABEL org.opencontainers.image.title="ntfy"
|
LABEL org.opencontainers.image.title="ntfy"
|
||||||
LABEL org.opencontainers.image.description="Send push notifications to your phone or desktop using PUT/POST"
|
LABEL org.opencontainers.image.description="Send push notifications to your phone or desktop using PUT/POST"
|
||||||
|
|
||||||
RUN /usr/sbin/adduser -D -u 1000 ntfy
|
RUN /usr/sbin/adduser -D -u 10001 ntfy
|
||||||
|
|
||||||
COPY --from=builder /app/dist/ntfy_linux_server/ntfy /usr/bin/ntfy
|
COPY --from=builder /app/dist/ntfy_linux_server/ntfy /usr/bin/ntfy
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue