Spaces:
Running
Running
Download Dockerfile from nithya200x/LexiSight: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/spaces/nithya200x/LexiSight/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/nithya200x/LexiSight/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/nithya200x/LexiSight/resolve/main/Dockerfile
408 Bytes
| FROM python:3.10-slim | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| libglib2.0-0 libsm6 libxext6 libxrender-dev libgomp1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /lexisight | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app/ ./app/ | |
| EXPOSE 7860 | |
| ENV LEXISIGHT_DEMO=1 | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] | |