Skip to content

Commit f5c705b

Browse files
committed
feat: changed heap size
1 parent 4869882 commit f5c705b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ COPY ./package.json ./
1919

2020
USER node
2121

22+
ENV NODE_OPTIONS="--max-old-space-size=4096"
23+
2224
HEALTHCHECK --interval=60s --timeout=10s --retries=3 \
2325
CMD sh -c "wget -nv -t1 --spider http://localhost:$PORT/health" || exit 1
2426

0 commit comments

Comments
 (0)