This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
# Build Go binary
|
||||
FROM golang:1.22-alpine AS builder
|
||||
FROM golang:1.25-alpine AS builder
|
||||
WORKDIR /src
|
||||
RUN apk add --no-cache ca-certificates tzdata
|
||||
COPY go.mod ./
|
||||
@@ -13,7 +13,7 @@ RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/ntfywui ./cmd/ntfy
|
||||
FROM binwiederhier/ntfy:latest AS ntfy
|
||||
|
||||
# Runtime
|
||||
FROM alpine:3.20
|
||||
FROM alpine:3.23
|
||||
RUN apk add --no-cache ca-certificates tzdata \
|
||||
&& addgroup -S ntfywui && adduser -S -G ntfywui -h /home/ntfywui ntfywui
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user