This commit is contained in:
zcr
2026-01-08 17:02:33 +08:00
parent b57e61f2f7
commit aab2697ea7
13 changed files with 2113 additions and 6 deletions

19
docker-compose.yml Normal file
View File

@@ -0,0 +1,19 @@
services:
aida_seg_anything:
build:
context: .
dockerfile: Dockerfile
working_dir: /app
volumes:
- ./:/app
- /etc/localtime:/etc/localtime:ro
ports:
- "10070:8777"
deploy:
resources:
reservations:
devices:
# 告诉 Docker 使用所有可用的 NVIDIA GPU
- driver: nvidia
device_ids: [ '0' ]
capabilities: [ gpu ]