#!/bin/sh set -e cd /app # Writable paths for Laravel (esp. when bind-mounting storage from host) chown -R nginx:nginx storage bootstrap/cache 2>/dev/null || true chmod -R ug+rwx storage bootstrap/cache 2>/dev/null || true exec "$@"