mirror of
https://github.com/KwaiVGI/LivePortrait.git
synced 2024-12-23 05:02:38 +00:00
19 lines
352 B
YAML
19 lines
352 B
YAML
|
version: '3.8'
|
||
|
services:
|
||
|
app:
|
||
|
build: ./docker
|
||
|
image: liveportrait:latest
|
||
|
volumes:
|
||
|
- ./:/LivePortrait
|
||
|
ports:
|
||
|
- "8890:8890"
|
||
|
deploy:
|
||
|
resources:
|
||
|
reservations:
|
||
|
devices:
|
||
|
- driver: nvidia
|
||
|
count: 1
|
||
|
capabilities: [ gpu ]
|
||
|
tty: true
|
||
|
command: python3 app.py
|