19 lines
401 B
Docker
19 lines
401 B
Docker
# Multi-stage build: Leichtgewichtiger Container für Ingestion Service
|
|
FROM python:3.13-slim
|
|
|
|
# Setze Arbeitsverzeichnis
|
|
WORKDIR /app
|
|
|
|
# Installiere Dependencies
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Kopiere die Anwendung
|
|
COPY wetterstation_ingestion.py .
|
|
|
|
# Exponiere Port
|
|
EXPOSE 5004
|
|
|
|
# Starten Sie die Anwendung
|
|
CMD ["python", "wetterstation_ingestion.py"]
|