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