diff --git a/preview.Dockerfile b/preview.Dockerfile index df35ec090b0..c00c8079a24 100644 --- a/preview.Dockerfile +++ b/preview.Dockerfile @@ -25,7 +25,7 @@ USER root COPY requirements.txt /code/ # install dependencies but ignore any we don't need for dev environment -RUN pip install $(grep -ivE "drf-yasg|spsycopg2|ipdb|mypy|ipython|ipdb|pip|djangorestframework-stubs|django-stubs|ipython-genutils|mypy-extensions|Pygments|typed-ast|jedi" requirements.txt) --no-cache-dir --compile\ +RUN pip install $(grep -ivE "drf-yasg|psycopg2|ipdb|mypy|ipython|ipdb|pip|djangorestframework-stubs|django-stubs|ipython-genutils|mypy-extensions|Pygments|typed-ast|jedi" requirements.txt) --no-cache-dir --compile\ && pip install psycopg2-binary --no-cache-dir --compile\ && pip uninstall ipython-genutils pip -y \ && rm -rf /usr/local/lib/python3.8/site-packages/numpy/core/tests \