diff --git a/Dockerfile b/Dockerfile index d1939616d..6af603ab0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,6 +46,7 @@ RUN pip install -U pip COPY requirements.txt requirements.dev.txt manage.py ./ RUN pip install -U --no-cache-dir pip RUN pip install -r requirements.txt +RUN pip uninstall python-dotenv -y # Re-enable dev packages RUN python3 -m venv --system-site-packages dev-packages \ diff --git a/Dockerfile_EKS b/Dockerfile_EKS index b3b6dbb48..f3fbd8a1e 100644 --- a/Dockerfile_EKS +++ b/Dockerfile_EKS @@ -49,6 +49,7 @@ RUN pip install -U pip COPY requirements.txt requirements.dev.txt manage.py ./ RUN pip install -U --no-cache-dir pip RUN pip install -r requirements.txt +RUN pip uninstall python-dotenv -y # Re-enable dev packages RUN python3 -m venv --system-site-packages dev-packages \