File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,11 +114,13 @@ look online for your answers before looking at the solution. Remember: it's not
1141141 . Start by installing hydra.
115115
116116 === "Using pip"
117+
117118 ```bash
118119 pip install hydra-core
119120 ```
120121
121122 === "Using uv"
123+
122124 ```bash
123125 uv add hydra-core
124126 ```
Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ beneficial for you to download.
250250
251251 ```dockerfile
252252 WORKDIR /
253- RUN uv sync --locked --no-cache
253+ RUN uv sync --locked --no-cache --no-install-project
254254 ```
255255
256256 The `--no-cache` is quite important. Can you explain what it does and why it is important in relation to
@@ -358,7 +358,9 @@ beneficial for you to download.
358358 Otherwise, you need to enable it by setting the environment variable `DOCKER_BUILDKIT=1` before building the
359359 image.
360360
361- Try changing your Dockerfile and rebuilding the image. You should see that the build process is much faster.
361+ Try changing your Dockerfile and rebuild the image twice e.g. first time running `docker build ...` it will
362+ still take some time as it needs to fill up the cache. The second time you run `docker build ...` you should see
363+ that the build process is much faster.
362364
36336515. Remember, if you are ever in doubt about how files are organized inside a Docker image, you always have the option
364366 of starting the image in interactive mode:
You can’t perform that action at this time.
0 commit comments