-
Notifications
You must be signed in to change notification settings - Fork 715
Expand file tree
/
Copy path.devcontainer.json
More file actions
33 lines (26 loc) · 916 Bytes
/
.devcontainer.json
File metadata and controls
33 lines (26 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// For format details, see https://containers.dev/implementors/json_reference/.
{
"name": "otwarchive",
"image": "mcr.microsoft.com/devcontainers/ruby:3.4",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"moby": false
},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"customizations": {
"vscode": {
"settings": {
"rubyLsp.rubyExecutablePath": "/usr/local/bin/ruby"
},
"extensions": ["Shopify.ruby-lsp"]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "sh script/docker/init.sh",
"postStartCommand": "docker compose up -d --build web",
"remoteUser": "root"
}