mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-24 00:41:01 +00:00
b6219cb605
Remove pip to close IN1-PYTHON-PIP-1278135 apt-get upgrade to close CVE-2022-1664, CVE-2022-1304, and CVE-2022-2068
18 lines
369 B
YAML
18 lines
369 B
YAML
version: "3"
|
|
|
|
services:
|
|
libretranslate-cuda:
|
|
container_name: libretranslate-cuda
|
|
build:
|
|
context: .
|
|
dockerfile: docker/Dockerfile.cuda
|
|
restart: unless-stopped
|
|
ports:
|
|
- 5000:5000
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: 1
|
|
capabilities: [gpu]
|