Spaces:
Runtime error
Runtime error
Download Dockerfile from mca183/Michael-Latex-OCR: direct link, hf CLI and curl.
- Browser
- Download file 253 Bytes
-
https://huggingface.co/spaces/mca183/Michael-Latex-OCR/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mca183/Michael-Latex-OCR/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mca183/Michael-Latex-OCR/resolve/main/Dockerfile
253 Bytes
| FROM python:3.10 | |
| # Install libgl1 | |
| RUN apt-get update && apt-get install -y libgl1 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] |