diff --git a/build/frappe-nginx/docker-entrypoint.sh b/build/frappe-nginx/docker-entrypoint.sh index c1caad54..69431038 100755 --- a/build/frappe-nginx/docker-entrypoint.sh +++ b/build/frappe-nginx/docker-entrypoint.sh @@ -13,6 +13,8 @@ rsync -a --delete /var/www/html/assets/frappe /assets chmod -R 755 /assets +touch /var/www/html/sites/.build -r $(ls -td /assets/* | head -n 1) + if [[ -z "$FRAPPE_PY" ]]; then export FRAPPE_PY=0.0.0.0 fi