FROM python:3.12-slim

WORKDIR /app

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY filter.py .

ENV SOURCE_URL=http://192.168.123.77/albert
ENV TARGET_URL=
ENV TARGET_TOKEN=
ENV LOG_LEVEL=INFO
ENV RECONNECT_DELAY=10

CMD ["python", "-u", "filter.py"]
