Files
server-scripts/haven-notify/Dockerfile
Jose Henrique 018a4a5d60
All checks were successful
Check scripts syntax / check-scripts-syntax (push) Successful in 3s
Haven Notify Build and Deploy / Build Haven Notify Image (amd64) (push) Successful in 15s
Haven Notify Build and Deploy / Deploy Haven Notify (push) Successful in 11s
updating haven notify
2025-08-16 22:41:41 -03:00

14 lines
311 B
Docker

# 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
ENV WEBHOOK_URL=""
ENTRYPOINT ["/app/haven-notify"]