Jenkins builds from apps.json, pushes to Forgejo registry, and archives Coolify image tags; compose installs all apps on first site creation.
12 lines
266 B
Bash
12 lines
266 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
ASSETS_PATH="/home/frappe/frappe-bench/sites/assets"
|
|
BAKED_PATH="/home/frappe/frappe-bench/assets"
|
|
|
|
echo "Linking fresh assets to volume..."
|
|
rm -rf "$ASSETS_PATH"
|
|
mkdir -p "$(dirname "$ASSETS_PATH")"
|
|
ln -s "$BAKED_PATH" "$ASSETS_PATH"
|
|
|
|
exec "$@"
|