From 7b7c7490c1d20c444209af1948c6bf08c3cc83b4 Mon Sep 17 00:00:00 2001 From: Hideo TERADA Date: Thu, 6 Jun 2024 17:43:29 +0900 Subject: [PATCH] ADD: docker settings --- Dockerfile | 3 +++ compose.yaml | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 Dockerfile create mode 100644 compose.yaml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..55801cc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04 + +CMD ["/bin/bash"] \ No newline at end of file diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..306a873 --- /dev/null +++ b/compose.yaml @@ -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"