survBot/Dockerfile
Kasper D. Fischer 3e47f4275b Add bind9-host and iputils-ping to Docker image requirements.
- Install bind9-host and iputils-ping packages in the Docker image.
- Create a new file "requirements.txt" with the specified package versions.
2025-03-20 15:58:22 +01:00

12 lines
230 B
Docker

FROM python:3
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
RUN apt update && apt install -y bind9-host iputils-ping
COPY . .
CMD [ "python", "./survBot.py", "-html", "www" ]