From: Steven Black Date: Wed, 14 Oct 2020 03:53:15 +0000 (-0400) Subject: Change the WORKDIR after the git clone step. X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=9fcac05480a44bbe713033b7c2bf0d37e088634c;p=stevenblack-hosts.git Change the WORKDIR after the git clone step. --- 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 ./