Skip to content

Commit 2767915

Browse files
committed
feature #1369 Create devcontainer.json (shyim)
This PR was merged into the main branch. Discussion ---------- Create devcontainer.json Adds an example how to setup it on [GitHub Codespaces](https://github.com/features/codespaces) Commits ------- 1db3c9b Create devcontainer.json
2 parents 0604b0b + 1db3c9b commit 2767915

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
3+
"features": {
4+
"ghcr.io/shyim/devcontainers-features/symfony-cli:0": {},
5+
"ghcr.io/shyim/devcontainers-features/php:0": {
6+
"version": "8.1"
7+
},
8+
"ghcr.io/devcontainers/features/node:1": {
9+
"version": "lts"
10+
}
11+
},
12+
"updateContentCommand": {
13+
"composer install": ["composer", "install"],
14+
"yarn": ["yarn"]
15+
},
16+
"postAttachCommand": {
17+
"server": "symfony server:start",
18+
"yarn": ["yarn", "watch"]
19+
}
20+
}

0 commit comments

Comments
 (0)