Update Dockerfile

main
Elbert Alias 6 years ago
parent 199b22739c
commit e856dd42a6

@ -8,11 +8,14 @@ RUN apk update && apk add --no-cache \
nodejs \ nodejs \
nodejs-npm nodejs-npm
RUN mkdir -p "$WAPPALYZER_ROOT" RUN mkdir -p "$WAPPALYZER_ROOT/browsers"
WORKDIR "$WAPPALYZER_ROOT" WORKDIR "$WAPPALYZER_ROOT"
ADD apps.json . ADD apps.json .
ADD browser.js .
ADD browsers/zombie.js ./browsers
ADD cli.js .
ADD driver.js . ADD driver.js .
ADD index.js . ADD index.js .
ADD package.json . ADD package.json .
@ -20,4 +23,4 @@ ADD wappalyzer.js .
RUN npm i RUN npm i
ENTRYPOINT ["node", "index.js"] ENTRYPOINT ["node", "cli.js"]