23 lines
538 B
YAML
23 lines
538 B
YAML
|
version: '2.3'
|
||
|
services:
|
||
|
devcontainer:
|
||
|
|
||
|
build:
|
||
|
context: ..
|
||
|
dockerfile: .devcontainer/Dockerfile
|
||
|
args:
|
||
|
HOST_USER_UID: 1000
|
||
|
HOST_USER_GID: 1000
|
||
|
|
||
|
network_mode: host
|
||
|
environment:
|
||
|
- DISPLAY=$DISPLAY
|
||
|
runtime: nvidia
|
||
|
|
||
|
volumes:
|
||
|
- ..:/workspace
|
||
|
- ~/.gitconfig:/home/containeruser/.gitconfig
|
||
|
- ~/.ssh:/home/containeruser/.ssh
|
||
|
|
||
|
command: sleep infinity
|