Spaces:
Sleeping
Sleeping
Download Dockerfile from amanetize/sherlock: direct link, hf CLI and curl.
- Browser
- Download file 482 Bytes
-
https://huggingface.co/spaces/amanetize/sherlock/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/amanetize/sherlock/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/amanetize/sherlock/resolve/main/Dockerfile
482 Bytes
| FROM python:3.9 | |
| ENV AZURE_AI_KEY=d676ac6948214b28923e7123404b34c5 | |
| ENV AZURE_AI_ENDPOINT=https://ksp.cognitiveservices.azure.com/ | |
| RUN apt-get update \ | |
| && apt-get install -y tesseract-ocr \ | |
| && apt-get install -y libgl1-mesa-glx \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |