Skip to content

Commit

Permalink
chore: try to give nodejs more memory
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Nov 22, 2023
1 parent 4c6f11a commit 386d098
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ ENV YARN_HTTP_TIMEOUT=300000
# set production env install will not install devDependencies
ENV NODE_ENV=production

ENV NODE_OPTIONS="--max-old-space-size=4096"

COPY . .

# if node_modules does not exist, run it, otherwise skip
Expand Down

0 comments on commit 386d098

Please sign in to comment.