From 353f04f950ca9270776e16800b3b3c3d196d32b9 Mon Sep 17 00:00:00 2001 From: Jason Woltje Date: Sun, 1 Feb 2026 01:15:34 -0600 Subject: [PATCH] fix(docker): Ensure public directory exists in web builder The production stage was failing because it tried to copy the public directory which doesn't exist in the source. Added mkdir -p to ensure the directory exists (even if empty) before the production stage tries to copy it. Co-Authored-By: Claude Opus 4.5 --- apps/web/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index 7de7aaf..8134b73 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -47,6 +47,9 @@ ENV NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL} # This ensures @mosaic/shared and @mosaic/ui are built first RUN pnpm turbo build --filter=@mosaic/web +# Ensure public directory exists (may be empty) +RUN mkdir -p ./apps/web/public + # ====================== # Production stage # ======================