Updating Dockerfile. This commit features a fix for a non-working Docker container. I verified its working again.

dev
0x5ECF4ULT 2020-09-29 12:52:03 +02:00
parent ed9152196e
commit 10cb5f011e
1 changed files with 3 additions and 2 deletions

View File

@ -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"]