mirror of
https://github.com/stackrender/stackrender.git
synced 2026-09-09 18:55:42 +00:00
Increase Node memory to prevent out-of-memory errors during build
This commit is contained in:
@@ -13,6 +13,10 @@ RUN npm config set strict-ssl false && npm install
|
||||
# Copy source files
|
||||
COPY . .
|
||||
|
||||
# Increase Node memory to prevent out-of-memory errors during build
|
||||
ENV NODE_OPTIONS=--max-old-space-size=4096
|
||||
|
||||
|
||||
# Build the application
|
||||
RUN npm run build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user