Update build.sh

This commit is contained in:
Sergiu Toma 2025-03-07 11:12:12 +02:00
parent dd5af12c7c
commit 1b29d43580

View File

@ -51,13 +51,13 @@ 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
npm run-script build
cp -r {.env,app.js,package.json,server,public,doc,Dockerfile} dist/
#cp -r ./* dist/
cp -r ./* dist/
# Generate Git log
dateString=$(date +"%Y%m%d-%H%M%S")