mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-12-23 02:02:33 +01:00
f74f1b718f
This commit makes the placement of binaries consistent on Linux. ntfy currently recommends /usr/local/bin for amd64 Linux but not for arm Linux. - replaced all instances of `/usr/bin/ntfy` with `/usr/local/bin/ntfy` - replaced two instances of `/usr/bin` with `/usr/local/bin` - in Dockerfile and Dockerfile-arm, the line is changed to `COPY ntfy /usr/local/bin`
16 lines
644 B
Docker
16 lines
644 B
Docker
FROM alpine
|
|
|
|
LABEL org.opencontainers.image.authors="philipp.heckel@gmail.com"
|
|
LABEL org.opencontainers.image.url="https://ntfy.sh/"
|
|
LABEL org.opencontainers.image.documentation="https://docs.ntfy.sh/"
|
|
LABEL org.opencontainers.image.source="https://github.com/binwiederhier/ntfy"
|
|
LABEL org.opencontainers.image.vendor="Philipp C. Heckel"
|
|
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
|
|
COPY ntfy /usr/local/bin
|
|
|
|
EXPOSE 80/tcp
|
|
ENTRYPOINT ["ntfy"]
|