pipenv install django-localflavor
Do this locally.
# Dockerfile
COPY Pipfile .
COPY Pipfile.lock .
RUN pip install pipenv
RUN pipenv install --system
docker-compose build
Now you can reflect it in the Docker environment
Even if you enter the Docker environment and install it with pip, it is useless for some reason, you need to install the environment locally and then do it
Recommended Posts