15 lines
		
	
	
	
		
			411 B
		
	
	
	
		
			Text
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
	
		
			411 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| 
								 | 
							
								FROM rust:1.89.0 AS builder
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								WORKDIR /usr/src/asklyphe/
							 | 
						||
| 
								 | 
							
								COPY bingservice bingservice
							 | 
						||
| 
								 | 
							
								COPY asklyphe-common asklyphe-common
							 | 
						||
| 
								 | 
							
								COPY lyphedb lyphedb
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								RUN cargo install --debug --path bingservice/
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								FROM debian:trixie-slim
							 | 
						||
| 
								 | 
							
								RUN apt-get update && apt-get upgrade -y && apt-get install -y libssl3 && rm -rf /var/lib/apt-get/lists/*
							 | 
						||
| 
								 | 
							
								COPY --from=builder /usr/local/cargo/bin/bingservice /usr/local/bin/
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								CMD ["bingservice"]
							 |