This was previously using the standard docker makefile I use as a starting point for all of my docker makefiles. Now it will properly mount the source directory.
		
			
				
	
	
		
			7 lines
		
	
	
		
			187 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			187 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM rustlang/rust:nightly-alpine3.17
 | 
						|
 | 
						|
RUN apk add --no-cache musl-dev
 | 
						|
RUN cargo install --locked --no-default-features --features ci-autoclean cargo-cache
 | 
						|
 | 
						|
ENTRYPOINT ["cargo", "build"]
 |