Skip to content

Commit 3d01942

Browse files
committed
Dockerfile: add pre-build debug listing to diagnose schema import resolution
1 parent b017183 commit 3d01942

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,17 @@ RUN npm pkg delete devDependencies.@rollup/rollup-win32-x64-msvc && \
5656
# Copy source code
5757
COPY . .
5858

59+
# Debug: show file layout and sample schema content so CI can tell us why Vite
60+
# cannot resolve JSON imports. This will be removed once the issue is fixed.
61+
RUN echo "🔍 Pre-build file layout:" && \
62+
echo "-- /app --" && ls -la /app || true && \
63+
echo "-- /app/schema --" && ls -la /app/schema || true && \
64+
echo "-- /app/schema/latest --" && ls -la /app/schema/latest || true && \
65+
echo "-- /app/src --" && ls -la /app/src || true && \
66+
echo "-- /app/src/schema --" && ls -la /app/src/schema || true && \
67+
echo "-- /app/src/schema/latest --" && ls -la /app/src/schema/latest || true && \
68+
echo "-- head of app-scripting.schema.json --" && head -n 20 /app/schema/latest/app-scripting.schema.json || true
69+
5970
# Build the application with version info
6071
RUN npm run build
6172

0 commit comments

Comments
 (0)