replace classic build for docker

This commit is contained in:
Bozieru Mihai 2025-04-03 21:19:15 +00:00
parent 755df1ec5a
commit 32692f2390

View File

@ -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