first commit

This commit is contained in:
2022-09-05 13:32:26 +02:00
commit 1874f2b2a2
28 changed files with 1126 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/bin/sh
cat /etc/passwd|grep 1000
cd /app
# echo "Cleaning node_modules"
# rm -rf node_modules
#
# echo "Cleaning npm cache"
# npm cache clean --f
#
# echo "Npm install"
# npm install
echo "Npm init"
npm ci
# echo "Run npm dev"
# npm run dev
echo "APP_ENV $APP_ENV"
if [ "$APP_ENV" = "prod" ]; then
echo "Run npm prod"
npm run prod
else
echo "Run npm dev"
npm run dev
fi