From 2be3d79d1eff3c3f68e71e7bcaf44576cbcf657e Mon Sep 17 00:00:00 2001 From: mschwehl <7300829+mschwehl@users.noreply.github.com> Date: Fri, 25 Mar 2022 21:16:54 +0100 Subject: [PATCH] some tweaking --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3c6abc0e..ab904b11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM python:3-buster RUN apt update \ - && apt install -y --no-install-recommends uwsgi g++ make python3-psycopg2 python3-ldap3 gettext gcc python3-dev libldap2-dev libsasl2-dev \ + && apt install -y --no-install-recommends uwsgi g++ make python3-ldap3 gettext gcc python3-dev libldap2-dev libsasl2-dev \ && apt clean \ && rm -rf /var/lib/apt/lists/* @@ -12,8 +12,8 @@ WORKDIR /app COPY . . RUN pip install -r requirements-production.txt -RUN pip install psycopg2-binary -RUN pip install psycopg2 +RUN pip install psycopg2-binary==2.8.6 +RUN pip install psycopg2==2.8.6 RUN mkdir _static && ln -s . _static/static RUN ln -s /data data