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 <[email protected]>
This commit is contained in:
2026-02-01 01:15:34 -06:00
co-authored by Claude Opus 4.5
parent 38f22f0b4e
commit 353f04f950
+3
View File
@@ -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
# ======================