Skip to content

Commit 31ad7ce

Browse files
chore: fix devcontainer creation (#518)
1 parent 90c43c7 commit 31ad7ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .devcontainer/devcontainer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// For format details, see https://aka.ms/devcontainer.json.
22
{
33
"name": "angular-testing-library",
4-
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-22-bullseye",
4+
"image": "mcr.microsoft.com/devcontainers/typescript-node:22-bullseye",
55

66
// Features to add to the dev container. More info: https://containers.dev/features.
77
"features": {
@@ -13,7 +13,7 @@
1313
// "forwardPorts": [],
1414

1515
// Use 'postCreateCommand' to run commands after the container is created.
16-
"postCreateCommand": "npm i",
16+
"postCreateCommand": "npm install --force",
1717
"onCreateCommand": "sudo cp .devcontainer/welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt",
1818
"waitFor": "postCreateCommand",
1919

0 commit comments

Comments
 (0)