From e856dd42a6d2b40cc0e58aa1bed59a4a5578aba8 Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Mon, 1 Jul 2019 09:52:47 +1000 Subject: [PATCH] Update Dockerfile --- src/drivers/npm/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/drivers/npm/Dockerfile b/src/drivers/npm/Dockerfile index ac4abb3a2..e3c511e18 100644 --- a/src/drivers/npm/Dockerfile +++ b/src/drivers/npm/Dockerfile @@ -8,11 +8,14 @@ RUN apk update && apk add --no-cache \ nodejs \ nodejs-npm -RUN mkdir -p "$WAPPALYZER_ROOT" +RUN mkdir -p "$WAPPALYZER_ROOT/browsers" WORKDIR "$WAPPALYZER_ROOT" ADD apps.json . +ADD browser.js . +ADD browsers/zombie.js ./browsers +ADD cli.js . ADD driver.js . ADD index.js . ADD package.json . @@ -20,4 +23,4 @@ ADD wappalyzer.js . RUN npm i -ENTRYPOINT ["node", "index.js"] +ENTRYPOINT ["node", "cli.js"]