|  | @@ -28,12 +28,14 @@ WORKDIR /app
 | 
	
		
			
				|  |  |  RUN apk add --no-cache --update \
 | 
	
		
			
				|  |  |    ca-certificates \
 | 
	
		
			
				|  |  |    tzdata \
 | 
	
		
			
				|  |  | -  fail2ban
 | 
	
		
			
				|  |  | +  fail2ban \
 | 
	
		
			
				|  |  | +  bash
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  COPY --from=builder /app/build/ /app/
 | 
	
		
			
				|  |  |  COPY --from=builder /app/DockerEntrypoint.sh /app/
 | 
	
		
			
				|  |  |  COPY --from=builder /app/x-ui.sh /usr/bin/x-ui
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  # Configure fail2ban
 | 
	
		
			
				|  |  |  RUN rm -f /etc/fail2ban/jail.d/alpine-ssh.conf \
 | 
	
		
			
				|  |  |    && cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local \
 | 
	
	
		
			
				|  | @@ -47,4 +49,5 @@ RUN chmod +x \
 | 
	
		
			
				|  |  |    /usr/bin/x-ui
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  VOLUME [ "/etc/x-ui" ]
 | 
	
		
			
				|  |  | +CMD [ "./x-ui" ]
 | 
	
		
			
				|  |  |  ENTRYPOINT [ "/app/DockerEntrypoint.sh" ]
 |