mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-07-01 02:36:52 +00:00
Change the WORKDIR after the git clone step.
This commit is contained in:
@@ -4,6 +4,7 @@ WORKDIR /usr/src
|
|||||||
COPY requirements.txt ./
|
COPY requirements.txt ./
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
RUN git clone --depth 1 https://github.com/StevenBlack/hosts.git
|
RUN git clone --depth 1 https://github.com/StevenBlack/hosts.git
|
||||||
|
WORKDIR /usr/src/hosts
|
||||||
|
|
||||||
# Now you launch this with
|
# Now you launch this with
|
||||||
# $ docker build ./
|
# $ docker build ./
|
||||||
|
|||||||
Reference in New Issue
Block a user