Merge pull request #14 from danialsamiei/devin/1771405734-fix-render-deploy

Fix Render deploy: add .dockerignore, reduce NODE_OPTIONS to 4096MB
This commit is contained in:
Danial Samiei 2026-02-18 13:13:05 +03:30 committed by GitHub
commit a1f99f9ad8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 32 additions and 1 deletions

31
.dockerignore Normal file
View file

@ -0,0 +1,31 @@
# Git
.git
.github
.gitignore
.gitattributes
# Node (rebuilt in Docker)
node_modules
# IDE
.idea
# Documentation
README.md
HOW_TO_CONTRIBUTE.md
VOID_CODEBASE_GUIDE.md
LICENSE*.txt
ThirdPartyNotices.txt
# CI/CD
CodeQL.yml
# Build output (rebuilt in Docker)
out
# OS
.DS_Store
Thumbs.db
# Playwright browsers (not needed for server)
.playwright

View file

@ -45,7 +45,7 @@ RUN npm i --ignore-scripts \
&& (cd remote && npm rebuild)
# Build: React components first, then compile produces out/ (server + workbench), compile-web adds extension web bundles
ENV NODE_OPTIONS="--max-old-space-size=8192"
ENV NODE_OPTIONS="--max-old-space-size=4096"
RUN npm run buildreact \
&& npm run compile \
&& npm run compile-web