From 9fd600571d12ae9269186cc72396b3a30fbd9d9a Mon Sep 17 00:00:00 2001 From: Andreas Reinhold / reini Date: Sun, 13 Sep 2026 11:17:38 +0200 Subject: [PATCH] Keep the dev container's compiled views out of the shared storage The checkout is mounted at /app, so views compiled in the container and on the host landed in one storage/framework/views, and each side read the other's absolute paths. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01V9NnLxnPp8vaaurb3Z1MFy --- docker-compose.dev.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 909111d..f78f5f4 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -12,6 +12,9 @@ services: APP_KEY: ${APP_KEY:-} APP_URL: http://localhost:8000 APP_ENV: local + # Compiled views stay in the container. The host shares storage/ through the mount, and + # compiled Livewire components hold absolute paths (/app/… here, the checkout's path there). + VIEW_COMPILED_PATH: /tmp/views APP_DEBUG: "true" SERVER_NAME: ":8000" DB_CONNECTION: sqlite