From 72d56951fabdd6fdba591ac3b474ee379f7aa230 Mon Sep 17 00:00:00 2001 From: jalotra Date: Fri, 5 Jul 2024 11:16:40 +0530 Subject: [PATCH] Adding Docker support --- .dockerignore | 1 + Dockerfile | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..f227989fb --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +**/venv/* diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..cd7ebc176 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM python:3.9 +WORKDIR /roop +COPY . . + +# RUN apk add --update make automake gcc g++ subversion cmake +# RUN apt install pkg-config libhdf5-dev +RUN apt-get update +RUN apt-get upgrade +RUN apt-get install libhdf5-dev ffmpeg libsm6 libxext6 -y +RUN pip install --upgrade pip +RUN pip install -r requirements-headless.txt + + +ENTRYPOINT [ "tail", "-f", "/dev/null" ] + +