File size: 397 Bytes
beec146 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 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"]
|