Download Dockerfile from rj7002/CourtIQ: direct link, hf CLI and curl.
- Browser
- Download file 339 Bytes
-
https://huggingface.co/spaces/rj7002/CourtIQ/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/rj7002/CourtIQ/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/rj7002/CourtIQ/resolve/main/Dockerfile
339 Bytes
| FROM python:3.11-slim | |
| RUN apt-get update && apt-get install -y libgomp1 && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY backend/requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY model_export/ ./model_export/ | |
| COPY backend/ ./backend/ | |
| WORKDIR /app/backend | |
| EXPOSE 7860 | |
| ENV PORT=7860 | |
| CMD ["python", "app.py"] | |