FROM golang:alpine as build WORKDIR /app COPY . . RUN go build -o /app/ntfy-alertmanager FROM alpine:latest WORKDIR / COPY --from=build /app/ntfy-alertmanager /ntfy-alertmanager ENTRYPOINT [ "./ntfy-alertmanager" ]