docker: shift HEALTHCHECK to helper
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is failing
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	continuous-integration/drone/push Build is failing
				
			This commit is contained in:
		@@ -13,4 +13,4 @@ USER 1000:1000
 | 
				
			|||||||
ENTRYPOINT ["/bin/sh", "/app/morss-helper"]
 | 
					ENTRYPOINT ["/bin/sh", "/app/morss-helper"]
 | 
				
			||||||
CMD ["run"]
 | 
					CMD ["run"]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
HEALTHCHECK CMD python -m morss.crawler http://localhost:${PORT:-8000}/ > /dev/null 2>&1
 | 
					HEALTHCHECK CMD ["check"]
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -12,6 +12,9 @@ elif [ "$@" = "reload" ]; then
 | 
				
			|||||||
	kill -s WINCH $pid
 | 
						kill -s WINCH $pid
 | 
				
			||||||
	kill -s TERM $pid
 | 
						kill -s TERM $pid
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					elif [ "$@" = "check" ]; then
 | 
				
			||||||
 | 
						python -m morss.crawler http://localhost:${PORT:-8000}/ > /dev/null 2>&1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
	morss $@
 | 
						morss $@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user