From 67e4346c680902b882865d8acc34b1f750446f88 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Wed, 15 Oct 2025 12:46:01 +0200 Subject: [PATCH] fix: pkg: do not create bogus ``{cache,views,sessions}`` directory in prod export --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 54ce49f4..f3cd0df9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -85,7 +85,7 @@ RUN apk add --no-cache xz COPY --from=phpdeps /app /app # ensure required runtime dirs exist (empty is fine) -RUN mkdir -p storage/framework/{cache,views,sessions} bootstrap/cache +RUN mkdir -p storage/framework/cache storage/framework/views storage/framework/sessions bootstrap/cache # create artifact (use tar + xz so we don't depend on GNU tar -J) RUN mkdir -p /out \ && tar -C /app -cf /out/app.tar \