|
Download README.md from azmisahin/docker: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/spaces/azmisahin/docker/resolve/main/README.md
- Command line
-
hf download hf://spaces/azmisahin/docker/README.md
-
curl -L -o README.md https://huggingface.co/spaces/azmisahin/docker/resolve/main/README.md
446 Bytes
| title: Docker | |
| emoji: 🏃 | |
| colorFrom: purple | |
| colorTo: yellow | |
| sdk: docker | |
| pinned: false | |
| license: mit | |
| #setup | |
| python installation | |
| ``` | |
| sudo apt-get install python3 python3-dev | |
| ``` | |
| pip installation | |
| ``` | |
| sudo apt install python3-pip | |
| ``` | |
| Install multiple packages | |
| ``` | |
| sudo python3 -m pip install -r requirements.txt | |
| ``` | |
| Please sea https://pypi.org/ | |
| Run | |
| ``` | |
| docker build -t docker-uvicorn . | |
| docker run -p 7860:7860/tcp -d docker-uvicorn | |
| ``` | |