11 lines
277 B
Docker
11 lines
277 B
Docker
FROM python:3.11-slim
|
|
WORKDIR /app
|
|
# Verhindert, dass Python stdout/stderr puffert
|
|
ENV PYTHONUNBUFFERED=1
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
COPY . .
|
|
# Nutzt -u für unbuffered binary stdout
|
|
CMD ["python", "-u", "syslog-fb-monitor.py"]
|
|
|