From e1b4e1bb6b6d77d17d285c6e3dfad992623679a0 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Mon, 28 Oct 2024 22:57:40 +0100 Subject: [PATCH] Fix psycopg Signed-off-by: Emmy D'Anello --- Dockerfile | 3 ++- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bd48460..239c1d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,8 @@ FROM python:3.13-alpine ENV PYTHONUNBUFFERED 1 ENV DJANGO_ALLOW_ASYNC_UNSAFE 1 -RUN apk add --no-cache gettext nginx gcc git libc-dev libffi-dev libxml2-dev libxslt-dev npm postgresql-dev libmagic texlive texmf-dist-fontsrecommended texmf-dist-lang texmf-dist-latexextra +RUN apk add --no-cache gettext nginx gcc git libc-dev libffi-dev libpq-dev libxml2-dev libxslt-dev \ + npm libmagic texlive texmf-dist-fontsrecommended texmf-dist-lang texmf-dist-latexextra RUN apk add --no-cache bash diff --git a/requirements.txt b/requirements.txt index 97f6cff..22bf2fc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19,7 +19,7 @@ gunicorn~=23.0.0 odfpy~=1.4.1 pandas~=2.2.3 phonenumbers~=8.13.47 -psycopg-binary~=3.2.3 +psycopg~=3.2.3 pypdf~=5.0.1 ipython~=8.28.0 python-magic~=0.4.27