I need help figuring out why I am getting the error 'exec /usr/local/bin/run-docker-project: no such file or directory' I think is related to the copy command in my dockerfile. This has been working for the longest time and I haven't made any code changes that would cause this to break so I would like to just get some more information right now.
The project is built with a sh script that runs a docker-compose file with several services, and all of them spin up and are working except for the core project. The command in the Dockerfile of the core project is as follows.
COPY installation/scripts/docker/run-docker-project /usr/local/bin/run-docker-project
Then there is a chmod 0755 on the file in the usr/local/bin repo followed by the exposed ports and
ENTRYPOINT["/usr/local/bin/run-access-in-docker"]
And the path for the run-docker-project script exists at installation/scripts/docker/run-docker-project for the Content and Repostiory Roots. I have the restart set to always in the docker-compose file and am able to get the error 'exec /usr/local/bin/run-docker-project: no such file or directory' from the restarting container. I recently updated ubuntu not sure if that is related or not, but I could use some help with ideas for getting more information. Which part of the build process should I be adding the logs and what should I be adding?
I am using Ubuntu 22.04.3 LTS and Docker 24.0.7
I tried building the project on different branches, I tried starting up a new vm and pulling the repo fresh from the main develop branch. I tried adding 'RUN ls -la' and other commands to the Dockerfile to get more information but nothing is printing out to the console (That might just be going somewhere else that I'm not aware of). I've also tried piping the output of the sh script to a text file which didn't get me any information worth mentioning.