Open rodrigogregorioneri opened 2 years ago
When running docker image and running container it shows errors in entrypoint.sh file:
entrypoint.sh: line 2: $'\r': command not found entrypoint.sh: line 3: syntax error near unexpected token
$'{\r'' 'ntrypoint.sh: line 3:
exit_handler () {
Convert CR-LF to LF with something like VScode and rebuild the image. That solved the problem for me.
When running docker image and running container it shows errors in entrypoint.sh file:
entrypoint.sh: line 2: $'\r': command not found entrypoint.sh: line 3: syntax error near unexpected token
$'{\r'' 'ntrypoint.sh: line 3:
exit_handler () {