replace classic build for docker
This commit is contained in:
parent
755df1ec5a
commit
32692f2390
6
build.sh
6
build.sh
@ -51,12 +51,12 @@ if [ -d "node_modules" ]; then
|
||||
fi
|
||||
|
||||
# Install dependencies
|
||||
npm install
|
||||
#npm install
|
||||
|
||||
## PROJECT NEEDS
|
||||
echo "Building app... from $(git rev-parse --abbrev-ref HEAD)"
|
||||
npm run-script build
|
||||
cp -r {.env,app.js,package.json,server,public,doc,Dockerfile} dist/
|
||||
#npm run-script build
|
||||
cp -r {.env,app.js,package.json,server,public,doc,Dockerfile,tsconfig.json,.dockerignore} dist/
|
||||
#cp -r ./* dist/
|
||||
|
||||
# Generate Git log
|
||||
|
Loading…
x
Reference in New Issue
Block a user