mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 16:05:26 +00:00
* use parsed options while signing * update project layout to v3 * fix .gitignore * remove example template * misc updates * bump tlsx version * hide template sig warning with env * js: retain value while using log * fix nil pointer derefernce * misc doc update --------- Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
16 lines
348 B
Docker
16 lines
348 B
Docker
# Build
|
|
FROM golang:1.21-alpine AS build-env
|
|
RUN apk add build-base
|
|
WORKDIR /app
|
|
COPY . /app
|
|
WORKDIR /app
|
|
RUN go mod download
|
|
RUN go build ./cmd/nuclei
|
|
|
|
# Release
|
|
FROM alpine:3.18.2
|
|
RUN apk -U upgrade --no-cache \
|
|
&& apk add --no-cache bind-tools chromium ca-certificates
|
|
COPY --from=build-env /app/nuclei /usr/local/bin/
|
|
|
|
ENTRYPOINT ["nuclei"] |