Modify mode of docker-entrypoint.sh