Commit a1ae13d
committed
Allow caching of pip install
This conditionally copies over the requirements.txt. We know a
Dockerfile will be available during the ONBUILD because otherwise this
image could not be the source image. The copy is a hack that allows us
to copy over the requirements.txt without crashing if it does not exist.
Installation of the dependencies proceeds before copying over everything
as done beforehand.1 parent 9e61652 commit a1ae13d
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
| 33 | + | |
| 34 | + | |
0 commit comments