ADD: docker settings

This commit is contained in:
Hideo TERADA 2024-06-06 17:43:29 +09:00
parent 472689c0dc
commit 7b7c7490c1
2 changed files with 22 additions and 0 deletions

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04
CMD ["/bin/bash"]

19
compose.yaml Normal file
View File

@ -0,0 +1,19 @@
version: '3'
services:
gsplat-dev:
build:
context: .
dockerfile: Dockerfile
container_name: gsplat-dev-container
image: gsplat:1.0
user: 1010:1010
volumes:
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro
- .:/home/terada/gaussian-splatting
- ~/.ssh:/root/.ssh
# ports:
# - "8087:8088"
working_dir: /home/terada/gaussian-splatting
tty: true
network_mode: "host"