diff --git a/.dockerignore b/.dockerignore index 8e083c0e68..a109691a29 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,35 @@ -target -contracts/cache -contracts/node-modules +# Rust build artifacts +target/ +*/target/ + +# Node.js dependencies +node_modules/ +*/node_modules/ +contracts/node_modules/ +ipc-ui/frontend/node_modules/ +demos/*/node_modules/ + +# Contract build artifacts +contracts/cache/ +# contracts/out/ # Needed by Docker build +# contracts/lib/ # Needed by Forge for remappings +contracts/broadcast/ + +# Git directory +.git/ + +# Build directories +build/ +*/build/ + +# Cache directories +.cache/ +*/cache/ + +# Temporary files +*.tmp +.DS_Store + +# IDE files +.vscode/ +.idea/ diff --git a/contracts/package.json b/contracts/package.json index 882de07980..e044e5350d 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -16,7 +16,7 @@ ], "scripts": { "prepack": "sh -c 'cp ../LICENSE-* .'", - "preinstall": "git submodule update --init --recursive", + "preinstall": "git submodule update --init --recursive || true", "postpack": "sh -c 'rm -f LICENSE-*'" }, "repository": {