Download Dockerfile from Openyx/xcdv: direct link, hf CLI and curl.
- Browser
- Download file 706 Bytes
-
https://huggingface.co/spaces/Openyx/xcdv/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Openyx/xcdv/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Openyx/xcdv/resolve/main/Dockerfile
706 Bytes
| FROM python:3.13-slim | |
| ENV PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 \ | |
| SEARXNG_BIND_ADDRESS=0.0.0.0 \ | |
| SEARXNG_PORT=8080 | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| python3-dev \ | |
| libxml2-dev \ | |
| libxslt1-dev \ | |
| libffi-dev \ | |
| libssl-dev \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt requirements-dev.txt setup.py ./ | |
| COPY searx/ searx/ | |
| COPY searxng_extra/ searxng_extra/ | |
| COPY manage ./ | |
| COPY utils/ utils/ | |
| RUN python -m pip install --upgrade pip setuptools wheel | |
| RUN pip install -r requirements.txt | |
| RUN pip install -e . | |
| EXPOSE 8080 | |
| CMD ["python", "-m", "searx.webapp"] | |