Spaces:
Running
Running
Download Dockerfile from MasterSayn/ocr-app-private: direct link, hf CLI and curl.
- Browser
- Download file 242 Bytes
-
https://huggingface.co/spaces/MasterSayn/ocr-app-private/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MasterSayn/ocr-app-private/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MasterSayn/ocr-app-private/resolve/main/Dockerfile
242 Bytes
| FROM python:3.10 | |
| WORKDIR /code | |
| COPY packages.txt . | |
| RUN apt-get update && xargs -a packages.txt apt-get install -y | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python", "gradio_api.py"] | |