Move out creation, comment out WORKDIR
This commit is contained in:
parent
badf3453a6
commit
5a065ddcf4
|
@ -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 . .
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
npm audit fix
|
||||
|
||||
mkdir -p ../out
|
||||
cp package*.json ../out
|
||||
|
||||
npm pack && mv *.tgz ../out/
|
||||
|
|
Loading…
Reference in New Issue
Block a user