mirror of
https://github.com/FoxxMD/context-mod.git
synced 2026-01-13 15:38:12 -05:00
* Document memory management approaches * Change node args for docker to a better name (NODE_ARGS) * Implement default node arg for docker `--max_old_space_size=512`
10 lines
298 B
Plaintext
10 lines
298 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
# used https://github.com/linuxserver/docker-plex as a template
|
|
|
|
# NODE_ARGS can be passed by ENV in docker command like "docker run foxxmd/context-mod -e NODE_ARGS=--optimize_for_size"
|
|
|
|
exec \
|
|
s6-setuidgid abc \
|
|
/usr/local/bin/node $NODE_ARGS /app/src/index.js run
|