Change the WORKDIR after the git clone step.
authorSteven Black <redacted>
Wed, 14 Oct 2020 03:53:15 +0000 (23:53 -0400)
committerSteven Black <redacted>
Wed, 14 Oct 2020 03:53:15 +0000 (23:53 -0400)
Dockerfile

index 441a8af427bb6426899694bc0e4f0d46a01ac433..59c551184b307ce2720ddcadb40ee7b3448897b7 100644 (file)
@@ -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 ./
git clone https://git.99rst.org/PROJECT