From 9fcac05480a44bbe713033b7c2bf0d37e088634c Mon Sep 17 00:00:00 2001 From: Steven Black Date: Tue, 13 Oct 2020 23:53:15 -0400 Subject: [PATCH] Change the WORKDIR after the git clone step. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 441a8af42..59c551184 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ 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 ./