Browse Source

Install libpq-dev so psycopg2 can build correctly

master
Jake Howard 3 years ago
committed by Pēteris Caune
parent
commit
7a5afc26be
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      docker/Dockerfile

+ 2
- 0
docker/Dockerfile View File

@ -5,6 +5,8 @@ ENV PYTHONUNBUFFERED=1
ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
WORKDIR /opt/healthchecks
RUN apt update && apt install -y libpq-dev build-essential && rm -rf /var/apt/cache
COPY requirements.txt /tmp
RUN \
pip install --no-cache-dir -r /tmp/requirements.txt && \


Loading…
Cancel
Save