openreplay/api/entrypoint.sh
Rajesh Rajendran 8db1b9d47e
feat(chalice): included sourcemaps_reader
It's not advised to run multiple processes in a single docker container.
In Kubernetes we can run this as sidecar, but other platforms such as
Heroku, and vanilla docker doesn't support such feature. So till we
figure out better solution, this is the workaround.
2021-05-21 21:45:04 +05:30

6 lines
187 B
Bash
Executable file

#!/bin/bash
cd sourcemaps_reader
nohup node server.js &> /tmp/sourcemaps_reader.log &
cd ..
python env_handler.py
chalice local --no-autoreload --host 0.0.0.0 --stage ${ENTERPRISE_BUILD}