mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-09-13 00:00:32 +02:00
11 lines
283 B
Docker
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 |