File tree Expand file tree Collapse file tree
docker/root/etc/s6-overlay/s6-rc.d Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44echo "Running db migration script";
55cd /db_migrations;
6- export LD_PRELOAD=/usr/local/lib/libjemalloc.so
6+ if [ "${USE_JEMALLOC:-false}" = "true" ]; then
7+ export LD_PRELOAD=/usr/local/lib/libjemalloc.so
8+ fi
79exec node index.js;
Original file line number Diff line number Diff line change 22# shellcheck shell=bash
33
44cd /app/apps/web;
5- export LD_PRELOAD=/usr/local/lib/libjemalloc.so
5+ if [ "${USE_JEMALLOC:-false}" = "true" ]; then
6+ export LD_PRELOAD=/usr/local/lib/libjemalloc.so
7+ fi
68exec node server.js;
Original file line number Diff line number Diff line change 22# shellcheck shell=bash
33
44cd /app/apps/workers;
5- export LD_PRELOAD=/usr/local/lib/libjemalloc.so
5+ if [ "${USE_JEMALLOC:-false}" = "true" ]; then
6+ export LD_PRELOAD=/usr/local/lib/libjemalloc.so
7+ fi
68exec node dist/index.js
You can’t perform that action at this time.
0 commit comments