10 lines
		
	
	
		
			418 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			418 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM ubuntu:20.04
 | 
						|
 | 
						|
# install the required dependencies to run the authserver
 | 
						|
RUN apt update && apt install -y libmysqlclient-dev libssl-dev libace-6.4.5 libace-dev net-tools;
 | 
						|
 | 
						|
HEALTHCHECK --interval=5s --timeout=15s --start-period=30s --retries=3 CMD netstat -lnpt | grep :3724 || exit 1
 | 
						|
 | 
						|
# run the authserver located in the directory "docker/authserver/bin" of the host machine
 | 
						|
CMD ["/azeroth-server/bin/authserver"]
 |