Revert Docker user fix

This commit is contained in:
binwiederhier
2024-03-07 16:59:42 -05:00
parent a9b7c4530b
commit 8c69234e28
5 changed files with 11 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
FROM golang:1.21-bullseye as builder
FROM golang:1.22-bullseye as builder
ARG VERSION=dev
ARG COMMIT=unknown
@@ -53,7 +53,6 @@ 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 adduser -D -u 1000 ntfy
COPY --from=builder /app/dist/ntfy_linux_server/ntfy /usr/bin/ntfy
EXPOSE 80/tcp