swappers / Dockerfile
triflix's picture
Create Dockerfile
c4ea280 verified
raw
history blame contribute delete
713 Bytes
## Dockerfile for Roop-Unleashed
# This Dockerfile clones the repository, installs dependencies and runs the app on port 7860
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Install system packages: git (to clone), ffmpeg (if required), and cleanup
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
git \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
# Clone the roop-unleashed repository into the container
RUN git clone https://github.com/zullum/roop-unleashed.git .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the application port
EXPOSE 7860
# Default command to run the application
CMD ["python", "run.py"]