Download Dockerfile from AnesKAM/jk: direct link, hf CLI and curl.
- Browser
- Download file 397 Bytes
-
https://huggingface.co/spaces/AnesKAM/jk/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/AnesKAM/jk/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/AnesKAM/jk/resolve/main/Dockerfile
397 Bytes
| FROM searxng/searxng:latest | |
| # Copy custom settings | |
| COPY settings.yml /etc/searxng/settings.yml | |
| # Hugging Face runs as non-root user, fix permissions | |
| RUN chmod 777 /etc/searxng/settings.yml | |
| # HF requires port 7860 by default OR we set app_port in README | |
| EXPOSE 8080 | |
| ENV SEARXNG_SETTINGS_PATH=/etc/searxng/settings.yml | |
| ENV UWSGI_WORKERS=1 | |
| CMD ["/usr/local/searxng/manage", "uwsgi-start"] | |