Initial commit: Miku Discord Bot

This commit is contained in:
2025-12-07 17:15:09 +02:00
commit 8c74ad5260
206 changed files with 50125 additions and 0 deletions

20
face-detector/Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM ghcr.io/ayutaz/anime-face-detector:gpu-cuda12.1
# Install supervisor and FastAPI dependencies
RUN apt-get update && \
apt-get install -y supervisor && \
rm -rf /var/lib/apt/lists/* && \
pip install --no-cache-dir fastapi uvicorn python-multipart
# Copy supervisor config
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
# Copy API
COPY api /app/api
WORKDIR /app
# Expose ports
EXPOSE 7860 6078
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]