Move out creation, comment out WORKDIR
Some checks reported errors
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.
buildbot/job/node Build done.

This commit is contained in:
Lee Miller 2023-11-10 16:31:38 +02:00
parent badf3453a6
commit 5a065ddcf4
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
2 changed files with 4 additions and 3 deletions

View File

@ -47,9 +47,11 @@ RUN ARCH='x64' \
# For this package # For this package
WORKDIR /app # WORKDIR /app
COPY package*.json binding.gyp *.cc ./ COPY package*.json binding.gyp *.cc ./
RUN npm install RUN npm install
RUN mkdir -p ../out
COPY . . COPY . .

View File

@ -1,8 +1,7 @@
#!/bin/bash #!/bin/sh
npm audit fix npm audit fix
mkdir -p ../out
cp package*.json ../out cp package*.json ../out
npm pack && mv *.tgz ../out/ npm pack && mv *.tgz ../out/