I had a similar problem and I have fixed it now.
Two things to pay attention to:
-
Make sure you have a shebang line at the top of your *.sh file
shebang line in this case: #!/bin/sh -
Make sure your file is marked as an executable. You can do that by adding this line to your Dockerfile:
RUN [“chmod”, “+x”, "/node/execure.sh”]