Skip to content

Commit e8715d6

Browse files
committed
increase nodejs memory
1 parent 0b52656 commit e8715d6

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

.devcontainer.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
2+
{
3+
"dockerFile": "Dockerfile",
4+
"extensions": [],
5+
"appPort": [
6+
8080
7+
],
8+
"shutdownAction": "stopContainer"
9+
}

.vscode/extensions.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"recommendations": [
33
"esbenp.prettier-vscode",
44
"dbaeumer.vscode-eslint",
5-
"msjsdiag.debugger-for-chrome",
6-
"octref.vetur"
5+
"octref.vetur",
6+
"ms-vscode-remote.remote-containers"
77
]
8-
}
8+
}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:8.16.0-jessie
22

3-
ENV NODE_OPTIONS --max-old-space-size=4096
3+
ENV NODE_OPTIONS --max-old-space-size=8192
44
RUN npm install [email protected] -g
55
RUN node -v && npm -v
66
COPY package*.json ./

0 commit comments

Comments
 (0)