I really don't get this. I am trying to deploy my python app to from GitHub to docker using gunicorn to start the app. But I keep getting this error after the build is successful but before deployment can begin
starting non-root container [./start.sh]: creating process: failed to load /usr/app/start.sh: exec format error
I have tried changing the permission for the start.sh file but it doesnt change. This is my start.sh
gunicorn -b :5000 --access-logfile - --error-logfile - pixelshop:app
This is my docker
FROM python:latest
WORKDIR /usr/app
COPY . .
RUN apt-get update
RUN apt-get install -y libgl1-mesa-dev
RUN pip install -r requirements.txt
RUN pip install Flask
RUN pip install gunicorn
RUN chmod +x start.sh
ENTRYPOINT ./start.sh