Files
ConvertX/.devcontainer/devcontainer.json
2025-10-05 13:57:54 +00:00

58 lines
1.6 KiB
JSON

{
"name": "ConvertX Development Environment",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"features": {
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.vscode-typescript-next",
"bradlc.vscode-tailwindcss",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"ms-vscode.vscode-json",
"ms-vscode.vscode-docker"
],
"settings": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"typescript.preferences.importModuleSpecifier": "relative",
"typescript.suggest.autoImports": true,
"tailwindCSS.includeLanguages": {
"typescript": "javascript",
"typescriptreact": "javascript"
},
"files.associations": {
"*.css": "tailwindcss"
},
"terminal.integrated.defaultProfile.linux": "bash"
}
}
},
"forwardPorts": [3000],
"portsAttributes": {
"3000": {
"label": "ConvertX Application",
"onAutoForward": "notify"
}
},
// "postCreateCommand": "bun install && bun run dev",
"remoteUser": "root",
"mounts": [
"source=${localWorkspaceFolder}/data,target=/app/data,type=bind",
"source=${localWorkspaceFolder}/src,target=/app/src,type=bind"
],
"containerEnv": {
"NODE_ENV": "development",
"QTWEBENGINE_CHROMIUM_FLAGS": "--no-sandbox"
}
}