From 7a5afc26be83b10e0e0ef7ec8b92ba0a96218aae Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 26 Sep 2021 20:51:32 +0100 Subject: [PATCH] Install libpq-dev so psycopg2 can build correctly --- docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index ce2458eb..e244803a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 && \