configure uv cache to support openshift
This commit is contained in:
parent
fb66d5666c
commit
07812efe82
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@ mkdir -p /app/run/caddy /app/run/gunicorn
|
||||||
# Set Caddy config location
|
# Set Caddy config location
|
||||||
export XDG_CONFIG_HOME="/app/config"
|
export XDG_CONFIG_HOME="/app/config"
|
||||||
|
|
||||||
|
# Set uv cache location so that it runs properly on OpenShift
|
||||||
|
export UV_CACHE_DIR="/app/.uvcache"
|
||||||
|
|
||||||
echo "Applying database migrations"
|
echo "Applying database migrations"
|
||||||
uv run src/manage.py migrate
|
uv run src/manage.py migrate
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue