I\'m trying to dockerize my node.js app. When the container is built I want it to run a git clone and then start the node server. Therefore I put these operatio
git clone
If you do not use DockerFile, you can simply add permission as command line argument of the bash:
docker run -t /bin/bash -c "chmod +x /usr/src/app/docker-entrypoint.sh; /usr/src/app/docker-entrypoint.sh"