Add devconatainer config file for easy development using VS Code.

This commit is contained in:
Sujal Goswami
2024-08-28 00:17:58 +05:30
parent 71fcc7a542
commit fd707dd857
4 changed files with 24 additions and 7 deletions
+19
View File
@@ -0,0 +1,19 @@
{
"name": "Wave Terminal Dev Container",
"dockerComposeFile": "../docker-compose.yml",
"service": "wave",
"workspaceFolder": "/app/waveterm",
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"extensions": [
"golang.go",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}
}
},
"remoteUser": "wave"
}
-3
View File
@@ -11,9 +11,6 @@ logs
*.log
*.tmp
# Ignore test and coverage files
coverage
test-results
-2
View File
@@ -31,5 +31,3 @@ RUN scripthaus run webpack-watch
RUN useradd -m -s /bin/bash wave
USER wave
CMD [ "scripthaus", "run", "electron" ]
+5 -2
View File
@@ -8,8 +8,11 @@ services:
container_name: waveterminal
environment:
- DISPLAY=${DISPLAY}
- NODE_ENV=development
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
command: scripthaus run electron
- .:/app/waveterm
stdin_open: true
tty: true
tty: true
ports:
- "3000:3000"