@ -19,7 +19,10 @@ RUN apk add --update \
|
|||||||
gettext \
|
gettext \
|
||||||
mariadb-client \
|
mariadb-client \
|
||||||
mariadb-dev \
|
mariadb-dev \
|
||||||
pkgconf
|
pkgconf \
|
||||||
|
postgresql16-dev \
|
||||||
|
postgresql16-client \
|
||||||
|
libpq-dev
|
||||||
|
|
||||||
RUN pip install --upgrade \
|
RUN pip install --upgrade \
|
||||||
setuptools \
|
setuptools \
|
||||||
@ -75,7 +78,8 @@ COPY includes/ /
|
|||||||
RUN apk update --no-cache; \
|
RUN apk update --no-cache; \
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
mariadb-client \
|
mariadb-client \
|
||||||
mariadb-dev; \
|
mariadb-dev \
|
||||||
|
postgresql16-client; \
|
||||||
pip install --no-cache-dir /tmp/python_builds/*.*; \
|
pip install --no-cache-dir /tmp/python_builds/*.*; \
|
||||||
python /app/manage.py collectstatic --noinput; \
|
python /app/manage.py collectstatic --noinput; \
|
||||||
rm -rf /tmp/python_builds; \
|
rm -rf /tmp/python_builds; \
|
||||||
|
@ -1,2 +1,5 @@
|
|||||||
# mysql support
|
# mysql support
|
||||||
mysqlclient==2.2.4
|
mysqlclient==2.2.4
|
||||||
|
|
||||||
|
# Postgres support
|
||||||
|
psycopg2==2.9.9 # postgresql16-dev postgresql16-client libpq-dev
|
Reference in New Issue
Block a user