File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+ // README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
3+ {
4+ "name" : " Existing Dockerfile" ,
5+ "build" : {
6+ // Sets the run context to one level up instead of the .devcontainer folder.
7+ "context" : " .." ,
8+ // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
9+ "dockerfile" : " ../Dockerfile"
10+ },
11+
12+ // Features to add to the dev container. More info: https://containers.dev/features.
13+ // "features": {},
14+
15+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
16+ "forwardPorts" : [8000 ],
17+ "runArgs" : [" --network=host" ]
18+
19+ // Uncomment the next line to run commands after the container is created.
20+ // "postCreateCommand": "cat /etc/os-release",
21+
22+ // Configure tool-specific properties.
23+ // "customizations": {},
24+
25+ // Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
26+ // "remoteUser": "devcontainer"
27+ }
You can’t perform that action at this time.
0 commit comments