Dockerfile: pip install "psycopg[binary]"

needed for testing with the postgres DB backend

See #21, #61
This commit is contained in:
Klaas van Schelven
2025-03-17 15:56:36 +01:00
parent 492de6d94f
commit a383aee6c0

View File

@@ -27,6 +27,8 @@ RUN apt update && apt install default-libmysqlclient-dev -y
COPY --from=build /wheels /wheels
RUN --mount=type=cache,target=/var/cache/buildkit/pip \
pip install --find-links /wheels --no-index /wheels/$WHEEL_FILE mysqlclient
RUN --mount=type=cache,target=/var/cache/buildkit/pip \
pip install "psycopg[binary]"
COPY bugsink/conf_templates/docker.py.template bugsink_conf.py