File size: 758 Bytes
ba7863c
 
 
 
 
 
41716c1
ba7863c
cfe963c
 
ba7863c
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM ghcr.io/astral-sh/uv:debian
EXPOSE 7860
RUN apt-get update
RUN apt-get install -y libx11-dev 

RUN apt-get install -y libxrender1 libxtst6 libxi6
RUN apt-get install -y ffmpeg libsm6 libxext6 
RUN apt-get install -y libglfw3-dev libgles2-mesa-dev 
RUN apt-get install -y util-linux
# RUN printf "cpu\n" | script -q /dev/null -c "uvx depthflow gradio"

# SSH into the container docker run -it -p 7860:7860 myusername/depthflow:latest sh
# run `uvx depthflow gradio --share` to start the setup
# Do all the animatiosn u will use once so models gets downloaded
# then commit the container as a new image `myusername/depthflow:latest`
# docker container ls
# docker commit <Container id> myusername/depthflow:latest
# docker push myusername/depthflow:latest