brocoders/nestjs-boilerplate

Startup bash script not working

Dugnist opened this issue · 1 comments

I was running command docker-compose up -d
Container was created but not run.
Error:
image

Linux: Ubuntu 22.04.1

Looks like for Linux you should to add an additional lines inside Dockerfile like this:

Make the scripts executable

RUN chmod +x /opt/startup.dev.sh
RUN chmod +x /opt/wait-for-it.sh

Because sed -i 's/\r//g' not working for me...