From 58a851f413d6d277ef1380869732327278e4fa79 Mon Sep 17 00:00:00 2001 From: "Stephanos A." Date: Tue, 2 Jun 2026 22:40:29 +0300 Subject: [PATCH] fix: Add error handling to Dockerfile.web build stage --- infrastructure/docker/Dockerfile.web | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/infrastructure/docker/Dockerfile.web b/infrastructure/docker/Dockerfile.web index 38e863b86..02d567473 100644 --- a/infrastructure/docker/Dockerfile.web +++ b/infrastructure/docker/Dockerfile.web @@ -28,7 +28,10 @@ ARG VITE_API_URL ENV VITE_API_URL=${VITE_API_URL} COPY --from=installer /app/ . COPY --from=pruner /app/out/full/ . -RUN pnpm turbo build --filter="${TURBO_FILTER}..." +RUN pnpm turbo build --filter="${TURBO_FILTER}..." || \ + (echo "Build failed for ${TURBO_FILTER}" && \ + ls -la /app/${APP_PATH}/ 2>/dev/null || echo "App path does not exist" && \ + exit 1) FROM nginx:alpine AS runner ARG APP_PATH