Summarization I am using App Platform. I would like run more programs in one component. In my case its are:
gunicorn --worker-tmp-dir /dev/shm --config gunicorn_config.py app:app
python local_zmq_server.py
Both programs should be in operation throughout the running of the component.
What I tried I tried to follow documentation.
Both build and run commands can be compound (joined by && or separated by newlines) if you need to perform multiple actions at build or run time. App Platform will attempt to infer these commands at inspection time, however if it is unable to do so, you must set them manually.
It did not work. It just started only first command/program.
I also tried write some bash and python script which should pack both commands to one script. But It did not work again.
What I did wrong?
Thank you for any help
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello,
Could you share the bash script that you’ve used?
You could try using this one here from the official Docker documentation:
Regards, Bobby