'Intervention/image plugin does not work on Docker Laravel image

I combined Laravel, Nginx, and MySQL in one docker image. Everything is fine except images are not showing when I deploy docker image.
When I have several tests on my local PC with Laravel source, the intervention images are successfully shown.
On the docker image, the intervention images are like this on inspect dialog.

<img class="lazy" src="/img/placeholder.png" data-src="/assets/logos/c200x90/hallon.png" width="100" height="45" alt="Hallon">

And on my local PC, the intervention image looks like this on inspect dialog

<img class="lazy" src="/assets/logos/c200x90/hallon.png" width="100" height="45" alt="Hallon" style="">

Even though Laravel sources are the same, I don't know why this happened?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source