anchor.diff:  
   # Install packages
   COPY apt.txt /tmp/apt.txt
  -RUN apt-get update
  -RUN apt-get install -y $(grep -vE "^\s*#" apt.txt  | tr "\n" " ")
  +RUN apt-get update && \
  +    apt-get install -y $(grep -vE "^\s*#" apt.txt  | tr "\n" " ") && \
  +    apt-get update && \
  +    apt-get install libpq-dev postgresql-client -y && \
  +    apt-get clean && \
  +    apt-get purge
   
  -RUN apt-get update && apt-get install libpq-dev postgresql-client -y
  -
  -# pip
  +# Install pip
   RUN curl --silent --location https://bootstrap.pypa.io/get-pip.py | python3 -
   
   # Add, and run as, non-root user.
  
positive.code: 
  # Install project packages
  COPY requirements.txt /tmp/requirements.txt
  COPY test_requirements.txt /tmp/test_requirements.txt
  RUN pip install -r requirements.txt -r test_requirements.txt
  
  # Add project
  COPY . /src
  WORKDIR /src
  RUN chown -R mitodl:mitodl /src
  
  RUN apt-get clean && apt-get purge
  USER mitodl
  
  # Set pip cache folder, as it is breaking pip when it is on a shared volume
  
negative.code: FROM python:3.9.13 AS production
  LABEL maintainer "ODL DevOps <mitx-devops@mit.edu>"
  
  # Add package files, install updated node and pip
  