feat: build custom Facefusion image with NSFW filter patch baked in

This commit is contained in:
2025-11-13 06:05:42 +01:00
parent 8f406f62c1
commit 95099a443e
2 changed files with 12 additions and 1 deletions

View File

@@ -158,7 +158,10 @@ services:
# Facefusion - AI face swapping and enhancement
facefusion:
image: ${AI_FACEFUSION_IMAGE:-facefusion/facefusion:3.5.0-cpu}
build:
context: .
dockerfile: Dockerfile
image: facefusion-patched:3.5.0-cpu
container_name: ${AI_COMPOSE_PROJECT_NAME}_facefusion
restart: unless-stopped
command: ['python', '-u', 'facefusion.py', 'run']