fix #1309
This commit is contained in:
@@ -25,13 +25,16 @@ LABEL maintainer="WPScan Team <team@wpscan.org>"
|
|||||||
RUN adduser -h /wpscan -g WPScan -D wpscan
|
RUN adduser -h /wpscan -g WPScan -D wpscan
|
||||||
|
|
||||||
COPY --from=builder /usr/local/bundle /usr/local/bundle
|
COPY --from=builder /usr/local/bundle /usr/local/bundle
|
||||||
|
|
||||||
RUN chown -R wpscan:wpscan /wpscan
|
RUN chown -R wpscan:wpscan /wpscan
|
||||||
|
|
||||||
# runtime dependencies
|
# runtime dependencies
|
||||||
RUN apk add --no-cache libcurl procps sqlite-libs
|
RUN apk add --no-cache libcurl procps sqlite-libs
|
||||||
|
|
||||||
|
WORKDIR /wpscan
|
||||||
|
|
||||||
USER wpscan
|
USER wpscan
|
||||||
|
|
||||||
RUN /usr/local/bundle/bin/wpscan --update --verbose
|
RUN /usr/local/bundle/bin/wpscan --update --verbose
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bundle/bin/wpscan"]
|
ENTRYPOINT ["/usr/local/bundle/bin/wpscan"]
|
||||||
|
|||||||
Reference in New Issue
Block a user