mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 05:45:09 +00:00
12 lines
266 B
Bash
Executable file
12 lines
266 B
Bash
Executable file
#!/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 "$@"
|