build: use bun build to create binary (#674)

This commit is contained in:
Emrik Östling
2026-10-16 20:46:57 +02:00
committed by GitHub
parent aabd0ccb3d
commit 38829ac393
6 changed files with 28 additions and 63 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ if [ -z "$PUID" ] || [ "$PUID" -eq 0 ]; then
umask "$UMASK"
fi
if [ $# -eq 0 ]; then
set -- bun run dist/src/index.js
set -- /app/convertx
fi
exec "$@"
fi
@@ -45,7 +45,7 @@ fi
export HOME=/home/convertx
if [ $# -eq 0 ]; then
set -- bun run dist/src/index.js
set -- /app/convertx
fi
exec gosu convertx "$@"