瀏覽代碼

fixup devcontainer

factor2
Saúl Ibarra Corretgé 2 年之前
父節點
當前提交
90e33ee799
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7
    1
      .devcontainer/devcontainer.json

+ 7
- 1
.devcontainer/devcontainer.json 查看文件

@@ -5,5 +5,11 @@
5 5
     "ghcr.io/devcontainers/features/node:1": {
6 6
       "version": "16"
7 7
     }
8
-  }
8
+  },
9
+  "hostRequirements": {
10
+    "cpus": 4,
11
+    "memory": "8gb",
12
+    "storage": "32gb" 
13
+  },
14
+  "postCreateCommand": "bash -i -c 'nvm use && npm install'"
9 15
 }

Loading…
取消
儲存