Squashed commit of the following: commit 3c26ec1cf2c69f60f8dfc5db3f2ec292166d8f4e Author: Ashish D'Souza <[email protected]> Date: Sun Feb 18 02:46:18 2024 -0600 Added camera uptime monitoring system
13 lines
206 B
Docker
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 .
|