The cache gives no benefit to a Docker image but it does add size, hence it's best left out. Signed-off-by: Andy Madge <andymadge@gmail.com>
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			111 B
		
	
	
	
		
			Docker
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			111 B
		
	
	
	
		
			Docker
		
	
	
		
			Executable file
		
	
	
	
	
| FROM python:3.7
 | |
| 
 | |
| WORKDIR /src
 | |
| COPY . .
 | |
| RUN pip install -r requirements.txt --no-cache-dir
 | |
| 
 | |
| CMD ["./server.py"]
 |