Install psycopg2 in docker image

This dependency is needed to use PostgreSQL.
This commit is contained in:
Nikos Epping 2021-11-21 17:17:10 +01:00
parent 4d6a5aaa27
commit 96c75e7f13
No known key found for this signature in database
GPG key ID: 8AAF07BFD862BFBC

View file

@ -22,7 +22,8 @@ ENV DEBUG="False" \
LEGAL_LINK="False" LEGAL_LINK="False"
RUN mkdir -p /etc/ihatemoney &&\ RUN mkdir -p /etc/ihatemoney &&\
pip install --no-cache-dir gunicorn pymysql; apk update && apk add postgresql-dev gcc python3-dev musl-dev &&\
pip install --no-cache-dir gunicorn pymysql psycopg2;
ADD . /src ADD . /src