Spaces:
Paused
Paused
Download Dockerfile from smcmackin20/searxng: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/spaces/smcmackin20/searxng/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/smcmackin20/searxng/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/smcmackin20/searxng/resolve/main/Dockerfile
408 Bytes
| FROM searxng/searxng:latest | |
| # Expose port 7860 for Hugging Face | |
| EXPOSE 7860 | |
| # Create wrapper script to set BIND_ADDRESS and run entrypoint | |
| RUN echo '#!/bin/sh' > /start-wrapper.sh && \ | |
| echo 'export BIND_ADDRESS=0.0.0.0:7860' >> /start-wrapper.sh && \ | |
| echo 'exec /usr/local/searxng/dockerfiles/docker-entrypoint.sh' >> /start-wrapper.sh && \ | |
| chmod +x /start-wrapper.sh | |
| CMD ["/start-wrapper.sh"] |