mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-18 22:21:51 +00:00
do not chew all memory
This commit is contained in:
parent
e4fda13940
commit
11eba6b2ef
@ -6,6 +6,9 @@ ADD package.json /app/
|
|||||||
ADD package-lock.json /app/
|
ADD package-lock.json /app/
|
||||||
COPY . /app/
|
COPY . /app/
|
||||||
|
|
||||||
|
# this matches total memory on spiffworkflow-demo
|
||||||
|
ENV NODE_OPTIONS=--max_old_space_size=2048
|
||||||
|
|
||||||
# npm ci because it respects the lock file.
|
# npm ci because it respects the lock file.
|
||||||
# --ignore-scripts because authors can do bad things in postinstall scripts.
|
# --ignore-scripts because authors can do bad things in postinstall scripts.
|
||||||
# https://cheatsheetseries.owasp.org/cheatsheets/NPM_Security_Cheat_Sheet.html
|
# https://cheatsheetseries.owasp.org/cheatsheets/NPM_Security_Cheat_Sheet.html
|
||||||
|
Loading…
x
Reference in New Issue
Block a user