FROM python RUN apt-get update -y && apt-get upgrade -y RUN apt-get install iputils-ping dnsutils -y RUN pip install --upgrade pip WORKDIR /app COPY requirements.txt requirements.txt RUN pip3 install -r requirements.txt COPY ./src . CMD [ "python3", "-m" , "flask", "run", "--host=0.0.0.0"]