From b182d82f11e6308348d1ec9410d04c38d8cb74e8 Mon Sep 17 00:00:00 2001 From: Jakub Kaniecki Date: Sun, 13 Oct 2024 20:12:36 +0200 Subject: [PATCH] fix psycopg2 --- Dockerfile | 1 + requirements.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4cf5756..142c79e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ ENV REACT_CLIENT_SECRET="lKsmraeSmihY8rTQgd8TTGIncUloW7XokR8WLI0oZq8jCJ59guAkopg RUN pip install --upgrade pip COPY ./requirements.txt . RUN apk add --no-cache --virtual .build-deps gcc musl-dev postgresql-dev python3-dev +RUN pip install psycopg2 RUN pip install -r requirements.txt ENV DJANGO_SETTINGS_MODULE=izaac.settings diff --git a/requirements.txt b/requirements.txt index 29d760f..4ad0581 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ django gunicorn djangorestframework -psycopg2-binary django-allauth dj-rest-auth django-cors-headers