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>
		
			
				
	
	
		
			8 lines
		
	
	
		
			No EOL
		
	
	
		
			184 B
		
	
	
	
		
			Docker
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			No EOL
		
	
	
		
			184 B
		
	
	
	
		
			Docker
		
	
	
		
			Executable file
		
	
	
	
	
| FROM python:3.8-alpine
 | |
| WORKDIR /code
 | |
| COPY requirements.txt /code/
 | |
| RUN pip install -r requirements.txt --no-cache-dir
 | |
| COPY . /code/
 | |
| ENV FLASK_APP hello.py
 | |
| CMD flask run --host=0.0.0.0
 | |
|   |