Browse Source

Install libpq-dev so psycopg2 can build correctly

pull/563/head
Jake Howard 3 years ago
parent
commit
e68fb991f0
No known key found for this signature in database GPG Key ID: 57AFB45680EDD477
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