Einlesen und Anzeigen getrennt
Einlesen per HTPP (nicht mehr MQTT)
This commit is contained in:
18
Dockerfile.ingestion
Normal file
18
Dockerfile.ingestion
Normal file
@@ -0,0 +1,18 @@
|
||||
# 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"]
|
||||
Reference in New Issue
Block a user