Spaces:
Sleeping
Sleeping
Download Dockerfile from veltrixcode/businesslawrag: direct link, hf CLI and curl.
- Browser
- Download file 393 Bytes
-
https://huggingface.co/spaces/veltrixcode/businesslawrag/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/veltrixcode/businesslawrag/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/veltrixcode/businesslawrag/resolve/main/Dockerfile
393 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| # HF Spaces expects the app to listen on 7860 | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| # Point CACHE_DIR at /data if you enable Persistent Storage on the Space, | |
| # otherwise the cache resets every time the Space restarts/sleeps. | |
| ENV CACHE_DIR=/data/cache | |
| CMD ["python", "app.py"] |