Add CUDA docker version

This commit is contained in:
Jon Wiggins 2022-06-20 16:20:07 -06:00
parent 8247444fb2
commit 89dde2d468
3 changed files with 59 additions and 0 deletions

12
docker-compose.cuda.yml Normal file
View file

@ -0,0 +1,12 @@
version: "3"
services:
libretranslate-cuda:
container_name: libretranslate-cuda
build:
context: .
dockerfile: docker/Dockerfile.cuda
restart: unless-stopped
ports:
- 5000:5000
command: --gpus all