this is my Dockerfile content :
FROM python:stretch
RUN pip install pyjwt
RUN pip install flask
RUN pip install gunicorn
RUN pip install pytest
ADD . /app/
WORKDIR /app
ENTRYPOINT ["gunicorn","-b", ":8080","main:APP"]
I run this command : docker build --no-cache -t test - <Dockerfile and it's ok but when i try this command : docker run -v /app --env-file=.env_file -p 80:8080 test i have this error : docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: "gunicorn": executable file not found in $PATH": unknown.
the file main.py is in the same folder as a Dockerfile
How can I solve this problem?