Change the WORKDIR after the git clone step.

This commit is contained in:
Steven Black
2020-10-13 23:53:15 -04:00
parent cce7894b3a
commit 9fcac05480

View 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 ./