Exit Code 128 means that code within the container triggered an exit command but didn’t provide a valid exit code. We usually see this when commands in the Dockerfile reference executables that aren’t installed in the environment or point to the wrong path. It’s often an error in your Dockerfile configuration.
In your case, it seems like docker/entrypoint.sh couldn’t be found at that specific location in your repo where you’re deploying the Docker container. It looks like what you’ve shared might be from a tool like GPT-4, so make sure you fully understand what you’re deploying, as the instructions could be incomplete depending on your use case. You should successfully deploy this container locally first before trying it on Render.
Hi sir.
Thank you for your reply. my Dockerfile was in the root folder of my repo. also the entrypoint.sh was also on the root folder inside a Docker folder.
In the first line of your Dockerfile, you’re copying the entrypoint.sh file to a ‘/docker’ folder located in the root of the filesystem, not within your project directory:
RUN chmod +x /docker/entrypoint.sh
But then you run the .sh file from the current directory: