frigate/uptime/Dockerfile

13 lines
206 B
Docker

FROM python:3.11
WORKDIR /code
ENTRYPOINT ["python", "-m", "uptime"]
RUN apt update --fix-missing
RUN apt install -y iputils-ping
COPY requirements.txt .
RUN pip3 install -r requirements.txt
COPY src .