Dockfile
ENTRYPOINT ["bash", "docker/run.sh"]
docker/run.sh
#!/bin/bash
# activate the environment
conda activate envs/dudu_server
supervisord -c conf/supervisor/supervisor_gunicorn_test.conf
记得添加#!/bin/bash
ENTRYPOINT ["bash", "docker/run.sh"]
#!/bin/bash
# activate the environment
conda activate envs/dudu_server
supervisord -c conf/supervisor/supervisor_gunicorn_test.conf
记得添加#!/bin/bash