mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-03 19:17:07 -05:00 
			
		
		
		
	Updated health check in Dockerfile
This commit is contained in:
		
							parent
							
								
									887594f634
								
							
						
					
					
						commit
						1fd4dab3b4
					
				@ -62,7 +62,7 @@ RUN su searxng -c "/usr/bin/python3 -m compileall -q searx" \
 | 
				
			|||||||
    -o -name '*.svg' -o -name '*.ttf' -o -name '*.eot' \) \
 | 
					    -o -name '*.svg' -o -name '*.ttf' -o -name '*.eot' \) \
 | 
				
			||||||
    -type f -exec gzip -9 -k {} \+ -exec brotli --best {} \+
 | 
					    -type f -exec gzip -9 -k {} \+ -exec brotli --best {} \+
 | 
				
			||||||
 | 
					
 | 
				
			||||||
HEALTHCHECK CMD wget --quiet --tries=1 --spider http://localhost:8080/healthz || exit 1
 | 
					HEALTHCHECK CMD wget --quiet --tries=1 --spider http://127.0.0.1:8080/healthz || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Keep these arguments at the end to prevent redundant layer rebuilds
 | 
					# Keep these arguments at the end to prevent redundant layer rebuilds
 | 
				
			||||||
ARG LABEL_DATE=
 | 
					ARG LABEL_DATE=
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user