diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..1fef50711 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM python:3.11 + +# making app folder +WORKDIR /app + +# copying files +COPY . . + +# installing requirements +RUN apt-get update +RUN apt-get install ffmpeg -y +RUN pip install --upgrade pip +RUN pip install -r ./requirements.txt + +# launching gradio app +ENV GRADIO_SERVER_NAME="0.0.0.0" +EXPOSE 7860 +ENTRYPOINT python ./run.py \ No newline at end of file diff --git a/README.md b/README.md index 792c8cc92..9bf4d32a5 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ Please refer to the [wiki](https://github.com/C0untFloyd/roop-unleashed/wiki). - Windows: run the `windows_run.bat` from the Installer. - Linux: `python run.py` +- Dockerfile - `docker build -t roop-unleashed .` Open In Colab