brocoders / nestjs-boilerplate

NestJS boilerplate. Auth, TypeORM, Mongoose, Postgres, MongoDB, Mailing, I18N, Docker.

Home Page:https://nestjs-boilerplate-test.herokuapp.com/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Startup bash script not working

Dugnist opened this issue · 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...