mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
Add devconatainer config file for easy development using VS Code.
This commit is contained in:
@@ -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"
|
||||
}
|
||||
@@ -11,9 +11,6 @@ logs
|
||||
*.log
|
||||
*.tmp
|
||||
|
||||
|
||||
|
||||
|
||||
# Ignore test and coverage files
|
||||
coverage
|
||||
test-results
|
||||
|
||||
@@ -31,5 +31,3 @@ RUN scripthaus run webpack-watch
|
||||
RUN useradd -m -s /bin/bash wave
|
||||
USER wave
|
||||
|
||||
CMD [ "scripthaus", "run", "electron" ]
|
||||
|
||||
|
||||
+5
-2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user