Public Access
1
0

update Docker and VS Code configurations for improved debugging

This commit is contained in:
2025-08-11 10:50:12 -04:00
parent 6c26b77fb5
commit 103080ba1b
7 changed files with 61 additions and 52 deletions

44
.vscode/tasks.json vendored
View File

@@ -1,17 +1,33 @@
{
"version": "2.0.0",
"tasks": [
"version": "2.0.0",
"tasks": [
{
"label": "docker-compose-up",
"type": "shell",
"command": "docker-compose up --build",
"isBackground": true,
"problemMatcher": [
{
"label": "docker-build",
"type": "shell",
"command": "docker build -t eleventy .",
"problemMatcher": []
},
{
"label": "docker-run",
"type": "shell",
"command": "docker run -d --name eleventy -p 8080:8080 eleventy",
"problemMatcher": []
"pattern": [
{
"regexp": ".",
"file": 1,
"location": 2,
"message": 3
}
],
"background": {
"activeOnStart": true,
"beginsPattern": "Attaching to",
"endsPattern": "Server at"
}
}
]
}
]
},
{
"label": "docker-compose-down",
"type": "shell",
"command": "docker-compose down"
}
]
}