Spaces:
Running
Running
fix: add .dockerignore to prevent Windows node_modules from overwriting Linux builds
Browse filesThe Dockerfile uses COPY . . which copies the entire directory including
node_modules into the container. Without .dockerignore, Windows-compiled
native modules (like canvas.node with PE/MZ header) overwrite the
correctly installed Linux versions (ELF header), causing all chart
rendering to fail with "invalid ELF header".
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>