Files
server-scripts/haven-notify/Dockerfile
Jose Henrique 72ec3e2477
Some checks failed
Check scripts syntax / check-scripts-syntax (push) Successful in 37s
Haven Notify Build and Deploy / build_haven_notify (push) Failing after 3m30s
Haven Notify Build and Deploy / deploy_haven_notify (push) Has been skipped
haven notify :)
2025-08-16 21:53:37 -03:00

13 lines
292 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
ENTRYPOINT ["/app/haven-notify"]