Added docker files for the bot and the database
This commit is contained in:
		
							
								
								
									
										11
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
FROM docker.io/rust:alpine as builder
 | 
			
		||||
WORKDIR /build/pass_manager
 | 
			
		||||
RUN apk -U upgrade --no-cache && apk add --no-cache musl-dev
 | 
			
		||||
COPY . .
 | 
			
		||||
RUN cargo install --path .
 | 
			
		||||
 | 
			
		||||
FROM docker.io/alpine
 | 
			
		||||
WORKDIR /app/
 | 
			
		||||
RUN apk -U upgrade --no-cache
 | 
			
		||||
COPY --from=builder /usr/local/cargo/bin/pass_manager .
 | 
			
		||||
CMD ["./pass_manager"]
 | 
			
		||||
		Reference in New Issue
	
	Block a user