use python impl of psycopg
Some checks failed
Build Multiarch Container Image / call-reusable-workflow (push) Failing after 5m44s
Some checks failed
Build Multiarch Container Image / call-reusable-workflow (push) Failing after 5m44s
This commit is contained in:
parent
8cea4a1ed9
commit
61b692b1b0
@ -32,6 +32,8 @@ RUN sed '/os\.makedirs(LOGGING_DIR, exist_ok=True)/d' -i src/paperless/settings.
|
||||
|
||||
RUN python3 -m venv env
|
||||
RUN env/bin/pip3 install -r requirements.txt
|
||||
RUN env/bin/pip3 uninstall -y psycopg psycopg-binary psycopg-c
|
||||
RUN env/bin/pip3 install psycopg
|
||||
|
||||
RUN find /install -type f -exec grep -lZ "^#!/install/env/bin/python3" {} + | xargs -0 -I {} sed -i "1s|^#!/install/env/bin/python3|#!/var/lib/paperless/env/bin/python|" {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user