add .env.example to frontend and php container and update README.md

This commit is contained in:
2026-01-29 20:09:16 +01:00
parent 7d2af43af4
commit 488fcd273b
7 changed files with 124 additions and 21 deletions
+4 -8
View File
@@ -27,17 +27,13 @@ fi
cd "$FRONTEND_DIR"
if [ -f package.json ]; then
npm ci --prefer-offline --no-audit
fi
cp /tmp/app.env .env
npm ci --prefer-offline --no-audit
npm run build
if [ ! -d "dist" ]; then
exit 1
fi
find "$PUBLIC_DIR" -mindepth 1 ! -name '.gitkeep' ! -name 'index.php' ! -name '.htaccess' -delete
find "$PUBLIC_DIR" -mindepth 1 ! -name 'index.php' ! -name '.htaccess' -delete
cp -r dist/* "$PUBLIC_DIR/"
exit 0