From 5a065ddcf4209f2c30b40bdb378a81f0db6eece0 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Fri, 10 Nov 2023 16:31:38 +0200 Subject: [PATCH] Move out creation, comment out WORKDIR --- .buildbot/node/Dockerfile | 4 +++- .buildbot/node/build.sh | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) 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/