add forwarded ports (ui and machinery) + add post installation commands get dependencies

This commit is contained in:
Cédric Verstraeten
2022-11-17 21:40:35 +00:00
parent 89c39aa853
commit 31f7eb5a9a

View File

@@ -7,13 +7,13 @@
"context": "..",
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerFile": "./Dockerfile"
"dockerFile": "./Dockerfile",
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
"forwardPorts": [3000, 80],
// Uncomment the next line to run commands after the container is created - for example installing curl.
// "postCreateCommand": "apt-get update && apt-get install -y curl",
"postCreateCommand": "cd ui && yarn install && cd ../machinery && go mod download",
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],