facechain
FROM registry.cn-hangzhou.aliyuncs.com/modelscope-repo/modelscope:ubuntu20.04-cuda11.7.1-py38-torch2.0.1-tf1.15.5-1.8.0
RUN pip3 install gradio controlnet_aux==0.0.6 python-slugify
# GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/modelscope/facechain.git --depth 1
ENV GIT_LFS_SKIP_SMUDGE=1
RUN git clone https://github.com/xddun/facechain.git --depth 1
WORKDIR /facechain
COPY ./deps/startProject.sh /app/
COPY ./.cache /root/.cache/
COPY ./workspace/ /mnt/workspace/
EXPOSE 7861
ENTRYPOINT ["bash", "/app/startProject.sh"]
docker run -d --gpus all -p 7861:7861 kevinchina/deeplearning:facechain