tfrere HF Staff commited on
Commit
5fa3f1b
Β·
1 Parent(s): 81d88fd

debug: Add file checks before build

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -46,6 +46,12 @@ RUN set -e; \
46
  cp -a src/content/assets/data/. public/data/
47
 
48
  # Build the application
 
 
 
 
 
 
49
  RUN npm run build
50
 
51
  # Generate the PDF (light theme, full wait)
 
46
  cp -a src/content/assets/data/. public/data/
47
 
48
  # Build the application
49
+ RUN echo "πŸ” Debug: Checking if article.mdx exists..." && \
50
+ ls -lh src/content/article.mdx && \
51
+ echo "πŸ” Debug: Checking if Figure component exists..." && \
52
+ ls -lh src/components/Figure.astro && \
53
+ echo "πŸ” Debug: First 20 lines of article.mdx:" && \
54
+ head -20 src/content/article.mdx
55
  RUN npm run build
56
 
57
  # Generate the PDF (light theme, full wait)