mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
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:
commit
a1f99f9ad8
2 changed files with 32 additions and 1 deletions
31
.dockerignore
Normal file
31
.dockerignore
Normal 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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue