Public Access
1
0

fix: de-docker dev

This commit is contained in:
2025-09-01 21:33:47 -04:00
parent d584330722
commit 2f6464eceb
5 changed files with 20 additions and 113 deletions

20
.vscode/launch.json vendored
View File

@@ -2,16 +2,20 @@
"version": "0.2.0",
"configurations": [
{
"name": "Docker: Attach to Node",
"name": "Debug Eleventy",
"type": "node",
"request": "attach",
"request": "launch",
"runtimeExecutable": "npm",
"runtimeArgs": [
"start"
],
"port": 9229,
"address": "localhost",
"localRoot": "${workspaceFolder}",
"remoteRoot": "/app",
"restart": false,
"preLaunchTask": "docker-compose-up",
"postDebugTask": "docker-compose-down"
"console": "integratedTerminal",
"serverReadyAction": {
"pattern": "Web Server running at (http://localhost:[0-9]+)",
"uriFormat": "%s",
"action": "openExternally"
}
}
]
}

28
.vscode/tasks.json vendored
View File

@@ -1,34 +1,6 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "docker-compose-up",
"type": "shell",
"command": "docker compose up --build",
"isBackground": true,
"problemMatcher": [
{
"pattern": [
{
"regexp": ".",
"file": 1,
"location": 2,
"message": 3
}
],
"background": {
"activeOnStart": true,
"beginsPattern": "Attaching to",
"endsPattern": "Debugger listening on"
}
}
]
},
{
"label": "docker-compose-down",
"type": "shell",
"command": "docker compose down --volumes"
},
{
"label": "Docker: Build and Push Production Image",
"type": "shell",