mirror of https://github.com/daffainfo/nuclei.git
Fixing Dockerfile (nuclei froze)
parent
d9cb97c4c0
commit
d34daca47d
|
@ -11,9 +11,8 @@ RUN cd ./v2/cmd/nuclei && go build -o nuclei .
|
||||||
FROM alpine
|
FROM alpine
|
||||||
|
|
||||||
RUN mkdir /app
|
RUN mkdir /app
|
||||||
RUN adduser -S -D -H -h /app appuser
|
RUN adduser --home /app --shell /bin/sh --disabled-password appuser
|
||||||
COPY --from=builder /app/v2/cmd/nuclei/nuclei /app
|
COPY --from=builder /app/v2/cmd/nuclei/nuclei /app
|
||||||
RUN chown appuser -R /app
|
|
||||||
USER appuser
|
USER appuser
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
Loading…
Reference in New Issue