Migrate dockerfile to gpu spec for docker v27 (#748)

This commit is contained in:
2025-01-02 21:19:47 +00:00
committed by GitHub
parent e4f7c1215b
commit f8b587a7b1
3 changed files with 9 additions and 0 deletions
+3
View File
@@ -150,6 +150,9 @@ services:
reservations:
devices:
- capabilities: [gpu]
driver: cdi
device_ids:
- nvidia.com/gpu=all
environment:
- GOCODER_PREFIX=/video
- GOCODER_HWACCEL=nvidia