mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-20 14:45:38 +08:00
devcontainer for VSCode development (#1428)
add devcontainer for easy development in VSCode
This commit is contained in:
1 parent
2878aff1c5
commit
78eeb3bfe8
2 files changed
+41
No files matched your search
@@ -0,0 +1,28 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
nerfstudio:
|
||||
shm_size: '12gb'
|
||||
image: dromni/nerfstudio:0.1.17
|
||||
# build:
|
||||
# context: ..
|
||||
# dockerfile: ./Dockerfile
|
||||
stdin_open: true
|
||||
tty: true
|
||||
environment:
|
||||
NVIDIA_DRIVER_CAPABILITIES: compute,utility,graphics
|
||||
DISPLAY: $DISPLAY
|
||||
ports:
|
||||
- "7007:7007"
|
||||
volumes:
|
||||
- ../:/workspace/
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix
|
||||
working_dir: /workspace/
|
||||
command: /bin/bash
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: 1
|
||||
capabilities: [ gpu ]
|
||||
Reference in new issue
Block a user