From c019a991525434f5344e911f9de32da7e06986c8 Mon Sep 17 00:00:00 2001 From: Daniel Adekugbe Date: Thu, 9 Apr 2026 16:29:04 +0100 Subject: [PATCH] debug: add file listing to Dockerfile to diagnose Railway build Temporary commit to see what files Railway actually has in the Docker build context. Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/next-app/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/next-app/Dockerfile b/frontend/next-app/Dockerfile index d1b652c..95d774f 100644 --- a/frontend/next-app/Dockerfile +++ b/frontend/next-app/Dockerfile @@ -12,6 +12,8 @@ COPY . . ARG NEXT_PUBLIC_API_URL ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL ENV NODE_OPTIONS="--max-old-space-size=2048" +RUN echo "=== DEBUG: listing src/components/media/ ===" && ls -la src/components/media/ || echo "!!! media/ directory does NOT exist !!!" +RUN echo "=== DEBUG: full src/components/ tree ===" && find src/components/ -type f | head -50 RUN npm run build FROM base AS runner