Spaces:
Running
Running
File size: 841 Bytes
35f0f6f ba7863c 2a82c93 ba7863c 2a82c93 ba7863c 2a82c93 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
---
title: Deepthflow
emoji: 🔥
colorFrom: indigo
colorTo: green
sdk: docker
pinned: false
---
# Deepthflow Dockerization
Build base image
```
docker build -t myusername/depthflow:latest -f Dockerfile.build
```
Then
```
# SSH into the container docker run -it -p 7860:7860 myusername/deepthflow: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/deepthflow:latest`
# docker container ls
# docker commit <Container id> myusername/depthflow:latest
# docker push myusername/depthflow:latest
```
Then build and run the executable image
```
docker build -t myusername/deepthflow-run:latest -f Dockerfile
docker run -p 7860:7860 -it myusername/deepthflow-run:latest
```
|