mirror of
				https://gitea.0xace.cc/rust/github-release-bot.git
				synced 2025-11-04 05:57:24 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			373 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			373 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM rust:alpine as builder
 | 
						|
RUN apk update
 | 
						|
RUN apk add --no-cache openssl-dev musl-dev
 | 
						|
WORKDIR /opt
 | 
						|
ADD . .
 | 
						|
RUN cargo build --release --verbose
 | 
						|
 | 
						|
FROM alpine:latest
 | 
						|
COPY --from=builder /opt/target/release/github-release-bot /opt/github-release-bot
 | 
						|
COPY ./docker/entrypoint.sh /opt/entrypoint.sh
 | 
						|
RUN chmod +x /opt/entrypoint.sh
 | 
						|
WORKDIR /opt
 | 
						|
ENTRYPOINT ["/opt/entrypoint.sh"]
 |