mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #19077 from AvdN/patch-2
example cannot work, pip needs --requirement
This commit is contained in:
commit
d9a3812656
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ specifically required files change.
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
COPY requirements.txt /tmp/
|
COPY requirements.txt /tmp/
|
||||||
RUN pip install /tmp/requirements.txt
|
RUN pip install --requirement /tmp/requirements.txt
|
||||||
COPY . /tmp/
|
COPY . /tmp/
|
||||||
|
|
||||||
Results in fewer cache invalidations for the `RUN` step, than if you put the
|
Results in fewer cache invalidations for the `RUN` step, than if you put the
|
||||||
|
|
Loading…
Reference in a new issue