Answer the question
In order to leave comments, you need to log in
Why do almost all Docker images for python backends use pip, not pipenv?
Hello everyone,
just wondering, I've seen a lot of articles on dockerizing DRF, Flask or FastAPI backends and they all use pip and a requirements.txt file... no one uses installing packages in docker image via pipenv. Why? After all, now pipenv for installing packages in the environment Wirth has become no less popular than the old pip?
all the best,
Vadim
Answer the question
In order to leave comments, you need to log in
Why docker need pipenv, this is extra software. Pipenv and others are convenient for development, and to build an image, a basic pip and requirements are enough, which was just generated by "pipenv and others"
PS nevertheless, if you really want to, you can use it, no one forbids it.
pip is more stable and widespread than the rare and unnecessary pipenv.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question