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"]