oraculum: try adjusting PYTHONPATH

This commit is contained in:
František Zatloukal 2024-05-20 14:27:47 +02:00
parent 3f6dabd0c6
commit de9aecb407

View file

@ -22,6 +22,9 @@ spec:
# init_db isn't dropping anything, so it's safe to call every time the pod starts
command: ["python", "/opt/app-root/src/oraculum/cli.py", "init_db"]
# and then just the gunicorn for the frontend part of the backend :)
env:
- name: PYTHONPATH
value: "${PYTHONPATH}:/opt/app-root/src"
volumes:
- oraculum-secret-volume
template: