How to config youtube-dl on docker?

  docker, dockerfile, spring, youtube-dl

I use docker to deploy my project. My project use youtube-dl. But when I deploy my youtube-dl can’t not use.
I don’t know why it can’t run but it can run when i run my project.
Please take a moment and see it helps me.
enter image description here

Source: Docker Questions