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" ]