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
|
# 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 . .
|
||||||
|
|
|
@ -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/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user