haven notify :)
This commit is contained in:
12
haven-notify/Dockerfile
Normal file
12
haven-notify/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
# 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"]
|
Reference in New Issue
Block a user