mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-05-03 14:11:22 +00:00
Working dockerfile
This commit is contained in:
parent
0d68fea0eb
commit
c11da3df3d
3 changed files with 5 additions and 4 deletions
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
# 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/build/server.js
|
||||
s6-setuidgid abc /usr/bin/node $NODE_ARGS /app/node_modules/.bin/tsx /app/src/backend/index.ts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue