1
0
mirror of synced 2024-12-18 02:16:08 +01:00
Retrieval-based-Voice-Conve.../docker-compose.yml
Abdellah derfoufi 50d0f2fa1e
Added NVIDIA GPU support to Docker (#1231)
* Added NVIDIA GPU support to Docker

* feat: Added NVIDIA GPU support to Docker

---------

Co-authored-by: Abdellah Derfoufi <mohammed-abdellah.derfoufi@capgemini.com>
2023-09-13 00:18:04 +09:00

20 lines
482 B
YAML

version: "3.8"
services:
rvc:
build:
context: .
dockerfile: Dockerfile
container_name: rvc
volumes:
- ./weights:/app/assets/weights
- ./opt:/app/opt
# - ./dataset:/app/dataset # you can use this folder in order to provide your dataset for model training
ports:
- 7865:7865
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]