add .env.example to frontend and php container and update README.md
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user