mirror of
				https://github.com/kevinveenbirkenbach/homepage.veen.world.git
				synced 2025-11-04 01:18:09 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			336 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			336 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
# Basis-Image für Python
 | 
						|
FROM python:slim
 | 
						|
 | 
						|
# Arbeitsverzeichnis festlegen
 | 
						|
WORKDIR /app
 | 
						|
 | 
						|
# Abhängigkeiten kopieren und installieren
 | 
						|
COPY app/requirements.txt requirements.txt
 | 
						|
RUN pip install --no-cache-dir -r requirements.txt
 | 
						|
 | 
						|
# Anwendungscode kopieren
 | 
						|
COPY app/ .
 | 
						|
 | 
						|
# Port freigeben
 | 
						|
EXPOSE 5000
 | 
						|
 | 
						|
# Startbefehl
 | 
						|
CMD ["python", "app.py"]
 |