Archived
15 lines
248 B
Docker
15 lines
248 B
Docker
FROM python:3.11
|
|
|
|
WORKDIR /code
|
|
|
|
ENTRYPOINT ["python", "rebooter.py"]
|
|
|
|
RUN apt update --fix-missing
|
|
RUN apt install -y firefox-esr iputils-ping
|
|
|
|
RUN pip3 install --upgrade pip
|
|
COPY requirements.txt .
|
|
RUN pip install -r requirements.txt
|
|
|
|
COPY src .
|