mirror of https://github.com/daffainfo/nuclei.git
Updating Dockerfile. This commit features a fix for a non-working Docker container. I verified its working again.
parent
ed9152196e
commit
10cb5f011e
|
@ -12,8 +12,9 @@ FROM alpine
|
|||
|
||||
RUN mkdir /app
|
||||
RUN adduser -S -D -H -h /app appuser
|
||||
USER appuser
|
||||
COPY --from=builder /app/v2/cmd/nuclei/nuclei /app
|
||||
RUN chown appuser -R /app
|
||||
USER appuser
|
||||
|
||||
WORKDIR /app
|
||||
CMD ["./nuclei"]
|
||||
ENTRYPOINT ["/app/nuclei"]
|
||||
|
|
Loading…
Reference in New Issue