making life easier [skip ci]
This commit is contained in:
parent
5c3190ef4a
commit
0850cb9bc9
3 changed files with 27 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"name": "GCT Generator",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
},
|
||||
"dockerComposeFile": "docker-compose.yml",
|
||||
"service": "application",
|
||||
"workspaceFolder": "/workspace",
|
||||
"settings": {
|
||||
"terminal.integrated.defaultProfile.linux": "bash"
|
||||
},
|
||||
|
|
23
.devcontainer/docker-compose.yml
Normal file
23
.devcontainer/docker-compose.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
version: '3.7'
|
||||
|
||||
services:
|
||||
application:
|
||||
container_name: gct-generator
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
VARIANT: 16
|
||||
USER_UID: 1000
|
||||
USER_GID: 1000
|
||||
volumes:
|
||||
- ..:/workspace:cached
|
||||
- ~/.ssh:/home/node/.ssh:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
command: sleep infinity
|
||||
user: node
|
||||
env_file:
|
||||
- ./workspace.env
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 3000:3000
|
1
.devcontainer/workspace.env
Normal file
1
.devcontainer/workspace.env
Normal file
|
@ -0,0 +1 @@
|
|||
# Left empty intentionally
|
Loading…
Reference in a new issue