debug: Add file checks before build
Browse files- 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)
|