making life easier [skip ci]

This commit is contained in:
Matteias Collet 2022-02-03 14:46:35 +00:00 committed by GitHub
parent 5c3190ef4a
commit 0850cb9bc9
3 changed files with 27 additions and 3 deletions

View file

@ -1,8 +1,8 @@
{ {
"name": "GCT Generator", "name": "GCT Generator",
"build": { "dockerComposeFile": "docker-compose.yml",
"dockerfile": "Dockerfile", "service": "application",
}, "workspaceFolder": "/workspace",
"settings": { "settings": {
"terminal.integrated.defaultProfile.linux": "bash" "terminal.integrated.defaultProfile.linux": "bash"
}, },

View 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

View file

@ -0,0 +1 @@
# Left empty intentionally