# Start from the official Golang image for building FROM golang:1.25 AS builder WORKDIR /app COPY . . RUN go build -o haven-notify main.go # Use a minimal image for running FROM busybox:latest WORKDIR /app COPY --from=builder /app/haven-notify . EXPOSE 8080 ENTRYPOINT ["/app/haven-notify"]