dockerfile CMD 多个 参数
CMD ["sh", "./deploy/run.sh"]
run.sh
#!/bin/bash
exec python api_v2.py &
exec python create_task.py
CMD tail -f /etc/hosts
欢迎来撩 : 汇总all
dockerfile CMD 多个 参数
CMD ["sh", "./deploy/run.sh"]
run.sh
#!/bin/bash
exec python api_v2.py &
exec python create_task.py
CMD tail -f /etc/hosts
欢迎来撩 : 汇总all