nuclei/Dockerfile

17 lines
288 B
Docker
Raw Normal View History

2023-03-16 23:59:14 +05:30
# Build
FROM golang:1.23-alpine AS builder
RUN apk add build-base
2023-03-16 23:59:14 +05:30
WORKDIR /app
COPY . /app
RUN make verify
RUN make build
2020-05-19 10:48:57 +03:00
2023-03-16 23:59:14 +05:30
# Release
FROM alpine:latest
RUN apk add --no-cache bind-tools chromium ca-certificates
COPY --from=builder /app/bin/nuclei /usr/local/bin/
2023-03-16 23:59:14 +05:30
ENTRYPOINT ["nuclei"]