FROM alpine MAINTAINER Elbert Alias ENV WAPPALYZER_DIR=/opt/wappalyzer RUN apk update && apk add --no-cache \ bash \ curl \ fontconfig \ nodejs \ nodejs-npm \ optipng \ zip # Fixes PhantomJS # https://github.com/dustinblackman/phantomized RUN curl -Ls "https://github.com/dustinblackman/phantomized/releases/download/2.1.1a/dockerized-phantomjs.tar.gz" | tar xz -C / RUN apk del \ curl RUN npm i -g \ jsonlint-cli \ manifoldjs \ svg2png-many RUN mkdir -p $WAPPALYZER_DIR WORKDIR $WAPPALYZER_DIR CMD [ "./bin/run" ]