I have been working on a project for almost a year, and this project has been working in Docker. Today I noticed that the permissions of the entire file system changed to 77
Adding "bash" in the Entrypoint worked for me:
ENTRYPOINT ["bash","entrypoint.prod.sh"]