private-search-engine / Dockerfile
MaxSainz2000's picture
Update Dockerfile
3747551 verified
raw
history blame contribute delete
387 Bytes
FROM searxng/searxng:latest
# Switch to root to perform setup
USER root
# Copy settings AND set ownership to the 'searxng' user in one step
COPY --chown=searxng:searxng settings.yml /etc/searxng/settings.yml
# Switch back to the restricted user
USER searxng
# Expose the default SearXNG port
EXPOSE 8080
# Start the engine
CMD ["/usr/local/searxng/dockerfiles/docker-entrypoint.sh"]