miguelgrinberg / microblog-api

A modern (as of 2024) Flask API back end.
MIT License
365 stars 100 forks source link

Awesome project, issues with docker #3

Closed tharrington closed 2 years ago

tharrington commented 2 years ago

I am currently getting ./boot.sh: Permission denied Exited with code 126 in docker on my mac pro with M1. Any thoughts on this?

/bin/sh: 1: ./boot.sh: Permission denied

miguelgrinberg commented 2 years ago

Your boot.sh file appears to have lost its executable bit. I have verified that it is correctly set on this repo, so the problem must be on your side.

tharrington commented 2 years ago

I executed:

chmod 755 boot.sh

Also if I run directly with ./boot.sh it works. Is this because I created a venv?

Still appears to have the error. Any other thoughts?

miguelgrinberg commented 2 years ago

I'm sorry but I don't understand exactly what you are doing. Can you please include the commands that you are running with their complete output?