Fixing Dockerfile (nuclei froze)

dev
0x5ECF4ULT 2020-10-05 16:53:16 +02:00
parent d9cb97c4c0
commit d34daca47d
1 changed files with 1 additions and 2 deletions

View File

@ -11,9 +11,8 @@ RUN cd ./v2/cmd/nuclei && go build -o nuclei .
FROM alpine
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
RUN chown appuser -R /app
USER appuser
WORKDIR /app