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.
6 lines
187 B
Bash
Executable file
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}
|