XWX-AI Claude Opus 4.6 commited on
Commit
efa862e
·
1 Parent(s): 6dd390f

fix: add .dockerignore to prevent Windows node_modules from overwriting Linux builds

Browse files

The 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>

Files changed (1) hide show
  1. .dockerignore +3 -0
.dockerignore ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ node_modules
2
+ .DS_Store
3
+ *.txt