mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-04-28 03:39:54 +00:00
10 lines
466 B
Text
Executable file
10 lines
466 B
Text
Executable file
#!/usr/bin/with-contenv bash
|
|
|
|
# used https://github.com/linuxserver/docker-wikijs/blob/master/root/etc/s6-overlay/s6-rc.d/svc-wikijs/run as a template
|
|
|
|
# NODE_ARGS can be passed by ENV in docker command like "docker run foxxmd/multi-scrobbler -e NODE_ARGS=--optimize_for_size"
|
|
echo -e "\nmulti-scrobbler is starting!"
|
|
export NODE_ENV=production
|
|
cd /app || exit
|
|
exec \
|
|
s6-setuidgid abc /usr/bin/node $NODE_ARGS /app/node_modules/.bin/tsx /app/src/backend/index.ts
|