deepFake_Voice_detection / docker-compose.yml
Ashishdubey1974's picture
Deploy deepfake voice detection app
d8240b4
raw
history blame contribute delete
558 Bytes
version: '3'
services:
api:
build:
context: .
dockerfile: Dockerfile
ports:
- "8000:8000"
command: python api.py
environment:
- MODEL_ID=MelodyMachine/Deepfake-audio-detection-V2
volumes:
- ./model_cache:/app/model_cache
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
web:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "80:80"
depends_on:
- api