diff --git a/.buildbot/node/Dockerfile b/.buildbot/node/Dockerfile index bcc95ac..ad28b23 100644 --- a/.buildbot/node/Dockerfile +++ b/.buildbot/node/Dockerfile @@ -47,9 +47,11 @@ RUN ARCH='x64' \ # For this package -WORKDIR /app +# WORKDIR /app COPY package*.json binding.gyp *.cc ./ RUN npm install +RUN mkdir -p ../out + COPY . . diff --git a/.buildbot/node/build.sh b/.buildbot/node/build.sh index c135fa6..69390e6 100755 --- a/.buildbot/node/build.sh +++ b/.buildbot/node/build.sh @@ -1,8 +1,7 @@ -#!/bin/bash +#!/bin/sh npm audit fix -mkdir -p ../out cp package*.json ../out npm pack && mv *.tgz ../out/