Spaces:
Paused
Paused
Download Dockerfile from GoldiSahoo/AIDocScanner: direct link, hf CLI and curl.
- Browser
- Download file 451 Bytes
-
https://huggingface.co/spaces/GoldiSahoo/AIDocScanner/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/GoldiSahoo/AIDocScanner/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/GoldiSahoo/AIDocScanner/resolve/main/Dockerfile
451 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir --upgrade pip \ | |
| build-essential \ | |
| curl \ | |
| git \ | |
| && pip install --no-cache-dir -r requirements.txt \ | |
| && apt-get update && apt-get install -y supervisor && rm -rf /var/lib/apt/lists/* | |
| COPY . ./ | |
| COPY supervisor.conf /etc/supervisor/conf.d/supervisor.conf | |
| EXPOSE 8000 8501 | |
| CMD ["supervisord", "-c", "/etc/supervisor/conf.d/supervisor.conf"] |