Skip to content

Commit 32d35e0

Browse files
committed
Update README.md
1 parent e0bc4ca commit 32d35e0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,17 @@ services:
105105
build: ./nodejs
106106
```
107107
108+
### Run the initial build
109+
110+
Run the following command:
111+
112+
```shell
113+
docker compose build
114+
```
115+
116+
> [!NOTE]
117+
> At this stage, if you loaded the Docker images as part of the prerequisites, if you run `docker images` you should see the `lambda/nodejs` image as well as a new image which is the same size.
118+
108119
### Initialise the container
109120

110121
Run this command to start an interactive shell:
@@ -166,6 +177,7 @@ exit
166177

167178
> [!NOTE]
168179
> At this stage, we no longer need the interactive shell and can return to the code editor.
180+
> Even though dependencies have been installed, if you run `docker images` again, you'll see the image size hasn't changed because the `node_modules` were written to your local volume, not via an image layer.
169181
170182
### Configure TypeScript
171183

@@ -209,6 +221,9 @@ Update `nodejs/package.json` scripts:
209221
"build": "tsc"
210222
```
211223

224+
> [!NOTE]
225+
> At this stage we have the main building blocks for the application, but our runtime doesn't know what to do with them.
226+
212227
---
213228

214229
## 3. The runtime

0 commit comments

Comments
 (0)