# Build stage FROM golang:1.22-alpine AS builder WORKDIR /app COPY go.mod ./ RUN go mod download COPY . . RUN CGO_ENABLED=0 GOOS=linux go build -o blaster main.go # Run stage FROM alpine:latest RUN apk add --no-cache ca-certificates WORKDIR /app COPY --from=builder /app/blaster . EXPOSE 7860 CMD ["./blaster"]