hosts/Dockerfile
2020-10-13 23:53:15 -04:00

11 lines
283 B
Docker

FROM python:3
WORKDIR /usr/src
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
RUN git clone --depth 1 https://github.com/StevenBlack/hosts.git
WORKDIR /usr/src/hosts
# Now you launch this with
# $ docker build ./
# $ docker run -it (containerid) bash