Adding Docker support

This commit is contained in:
jalotra 2024-07-05 11:16:40 +05:30
parent f9fe11a8a9
commit 72d56951fa
2 changed files with 17 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
**/venv/*

16
Dockerfile Normal file
View File

@ -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" ]