Spaces:
Sleeping
Sleeping
Download backend/Dockerfile from ashutoshneemval/CLAT_Guide: direct link, hf CLI and curl.
- Browser
- Download file 392 Bytes
-
https://huggingface.co/spaces/ashutoshneemval/CLAT_Guide/resolve/main/backend/Dockerfile
- Command line
-
hf download hf://spaces/ashutoshneemval/CLAT_Guide/backend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ashutoshneemval/CLAT_Guide/resolve/main/backend/Dockerfile
392 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install system compilation packages (needed for psycopg2, sentence-transformers, etc.) | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| libpq-dev \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 8000 | |
| CMD ["python", "main.py"] | |