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
No known key found for this signature in database
GPG Key ID: 8B814B914974E6AF

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