forked from openvdb/fvdb-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (35 loc) · 854 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
35 lines (35 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: '3'
services:
fvdb-dev:
build:
context: ./
dockerfile: Dockerfile
args:
MODE: dev
working_dir: /workspace
volumes:
- type: bind
source: .
target: /workspace
# Keep build artifacts inside the container (not mirrored to host)
- type: volume
target: /workspace/build
- type: volume
target: /workspace/dist
- type: volume
target: /workspace/_skbuild
# Uncomment and adjust the following as needed
# ports:
# - "8888:8888" # Example for Jupyter notebook
entrypoint: /bin/bash
stdin_open: true
tty: true
environment:
- NVIDIA_VISIBLE_DEVICES=all
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]