2022-08-08 17:22:32 +00:00
|
|
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
|
|
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.238.1/containers/docker-existing-dockerfile
|
|
|
|
{
|
2022-08-08 17:24:48 +00:00
|
|
|
"name": "Contribute to Astro CodeSpaces",
|
2022-08-08 17:22:32 +00:00
|
|
|
|
2022-08-08 17:24:48 +00:00
|
|
|
// Sets the run context to one level up instead of the .devcontainer folder.
|
|
|
|
"context": "..",
|
2022-08-08 17:22:32 +00:00
|
|
|
|
2022-08-08 17:24:48 +00:00
|
|
|
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
|
|
|
|
"dockerFile": "../.Dockerfile",
|
2022-08-08 17:22:32 +00:00
|
|
|
|
2022-08-08 17:24:48 +00:00
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
|
|
// "forwardPorts": [],
|
2022-08-08 17:22:32 +00:00
|
|
|
|
2022-08-08 17:24:48 +00:00
|
|
|
// Uncomment the next line to run commands after the container is created - for example installing curl.
|
|
|
|
"postCreateCommand": "pnpm install"
|
2022-08-08 17:22:32 +00:00
|
|
|
|
2022-08-08 17:24:48 +00:00
|
|
|
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
|
|
|
|
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
|
2022-08-08 17:22:32 +00:00
|
|
|
|
2022-08-08 17:24:48 +00:00
|
|
|
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
|
|
|
|
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
|
2022-08-08 17:22:32 +00:00
|
|
|
|
2022-08-08 17:24:48 +00:00
|
|
|
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
|
|
|
|
// "remoteUser": "vscode"
|
2022-08-08 17:22:32 +00:00
|
|
|
}
|