tko22 / flask-boilerplate

Simple flask boilerplate with Postgres, Docker, and Heroku/Zeit now
https://github.com/tko22/flask-boilerplate/wiki
MIT License
301 stars 100 forks source link

Documentation not up to date? #24

Open MarcanX opened 5 years ago

MarcanX commented 5 years ago

Hello,

Following the Docker setup instructions here: https://github.com/tko22/flask-boilerplate/wiki/Docker-Setup

docker-compose up -d This one builds without a problem.

docker ps shows me everything is running fine. CONTAINER ID IMAGE COMMAND CREATED STATUS PO RTS NAMES c07b67320ea3 flask-boilerplate_app "/app/scripts/docker…" 40 seconds ago Restarting (1) 12 seconds ago app add1ae4ccdc3 postgres:10 "docker-entrypoint.s…" 42 seconds ago Up 40 seconds 0. 0.0.0:5432->5432/tcp postgres

docker-compose start Starting postgres ... done Starting app ... done Starts those without any issue.

docker-compose logs app I quickly get the following error when checking the logs:

app | standard_init_linux.go:211: exec user process caused "no such file or directory"

Any idea if the documentation is out of date? I followed the instructions carefully but it doesn't work.

Thanks!

seanhtchoi commented 4 years ago

You can simply change .sh files from CRLF to LF https://forums.docker.com/t/standard-init-linux-go-175-exec-user-process-caused-no-such-file/20025