FROM python:3.11-slim as runtime
WORKDIR /runtime
COPY ./sentinel/sentinel.py /runtime
COPY ./sentinel/requirements.txt /runtime
RUN pip3 install -r /runtime/requirements.txt
ENV CONFIG_PATH=/etc/sentinel/config.yaml
CMD ["python3", "./sentinel.py"]
