mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 16:15:27 +00:00
17 lines
288 B
Docker
17 lines
288 B
Docker
# Build
|
|
FROM golang:1.24-alpine AS builder
|
|
|
|
RUN apk add build-base
|
|
WORKDIR /app
|
|
COPY . /app
|
|
RUN make verify
|
|
RUN make build
|
|
|
|
# Release
|
|
FROM alpine:latest
|
|
|
|
RUN apk add --no-cache bind-tools chromium ca-certificates
|
|
COPY --from=builder /app/bin/nuclei /usr/local/bin/
|
|
|
|
ENTRYPOINT ["nuclei"]
|