"gunicorn not found" error when running a Docker container with pipenv #3128
meenumathew
started this conversation in
General
Replies: 2 comments
-
try add --system to your pipenv command
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing issue as there has been no follow-up. Feel free to open a new issue or seek help in the discussions section if you're still having trouble. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to run a Docker container, but I'm getting the error message: /app/docker-entrypoint.sh: gunicorn: not found. I can fire up the server locally without Docker without any problems, and building the image also works fine.
Here is my
Dockerfile
code:And here is my
docker-entrypoint.sh
code:Note: When I try to run the application with
pipenv run gunicorn -b :8000 --access-logfile - --error-logfile - config.wsgi:application
, I get the errorpipenv is not found
. I also tried runningpipenv install --system --deploy --ignore-pipfile
, but that did not work either.Beta Was this translation helpful? Give feedback.
All reactions