forked from external-repos/noisedash
Some checks failed
build-and-push-docker / docker (push) Failing after 1m15s
- Create .devcontainer/devcontainer.env and .devcontainer/devcontainer.json for development environment configuration - Add Gitea Actions README and Docker workflow for building and pushing images - Update package.json to include @vue/cli-plugin-pwa - Enhance index.html with manifest link and theme color - Create public/manifest.webmanifest for PWA configuration - Implement service worker registration and media session management in registerServiceWorker.js - Update main.js to register the service worker - Configure vue.config.js for PWA settings and caching strategies
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "Noisedash Dev",
|
|
"image": "mcr.microsoft.com/devcontainers/node:20-bookworm",
|
|
"forwardPorts": [8080, 1432],
|
|
"portsAttributes": {
|
|
"8080": { "label": "Vue dev server" },
|
|
"1432": { "label": "Noisedash API" }
|
|
},
|
|
"postCreateCommand": "npm install",
|
|
"remoteEnv": {
|
|
"HOST": "0.0.0.0"
|
|
},
|
|
"containerEnv": {
|
|
"HOST": "0.0.0.0"
|
|
},
|
|
"runArgs": ["--env-file", ".devcontainer/devcontainer.env"],
|
|
"remoteUser": "node",
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"eslint.format.enable": true,
|
|
"eslint.validate": ["javascript", "vue"],
|
|
"terminal.integrated.defaultProfile.linux": "bash",
|
|
"vetur.validation.template": true,
|
|
"vetur.validation.script": true,
|
|
"vetur.validation.style": true
|
|
},
|
|
"extensions": [
|
|
"dbaeumer.vscode-eslint",
|
|
"esbenp.prettier-vscode",
|
|
"octref.vetur"
|
|
]
|
|
}
|
|
},
|
|
"updateContentCommand": "",
|
|
"onCreateCommand": "mkdir -p samples sessions log",
|
|
"postStartCommand": "npm run server & npm run serve"
|
|
}
|