Spaces:
Sleeping
Sleeping
Download Dockerfile from Futi613/NewSpaceTrying: direct link, hf CLI and curl.
- Browser
- Download file 390 Bytes
-
https://huggingface.co/spaces/Futi613/NewSpaceTrying/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Futi613/NewSpaceTrying/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Futi613/NewSpaceTrying/resolve/main/Dockerfile
390 Bytes
| FROM python:3.10-bookworm | |
| WORKDIR /app | |
| RUN apt update && apt install -y build-essential libglib2.0-0 libsm6 libxext6 libxrender-dev libgl1-mesa-glx | |
| RUN git clone https://github.com/sml2h3/ddddocr.git | |
| RUN cd ./ddddocr && pip install --no-cache-dir -r requirements.txt | |
| RUN pip install fastapi uvicorn pydantic | |
| CMD cd ddddocr && python -m ddddocr.__main__ api --host 0.0.0.0 --port 7860 | |