🛠️ Add scaffolding for Synology Docker deployment

This commit is contained in:
2026-05-14 00:40:03 +00:00
parent 31975e3088
commit 107f8a2691
5 changed files with 422 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -euo pipefail
script_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
if command -v node >/dev/null 2>&1; then
node_bin="$(command -v node)"
elif command -v nodejs >/dev/null 2>&1; then
node_bin="$(command -v nodejs)"
else
printf 'Node.js is required to scaffold Synology deployment files.\n' >&2
exit 1
fi
exec "$node_bin" "$script_dir/scaffold-synology-deploy.mjs" "$@"