Skip to content

Commit 42e2bf7

Browse files
committed
Update README.md
1 parent a33ef83 commit 42e2bf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ Run `LAMBDA_INPUT=@/events/test.json docker compose up --build --abort-on-contai
261261
> [!TIP]
262262
> The `@` tells the cURL command that it should include the contents of a file rather than passing as a string.
263263

264-
### Update the `Dockerfile`
264+
### Update the `Dockerfile` for optimised caching
265265

266266
```Dockerfile
267267
FROM public.ecr.aws/lambda/nodejs:22
@@ -284,7 +284,7 @@ RUN npm run build
284284
CMD [ "build/index.handler" ]
285285
```
286286

287-
### Update the `Dockerfile`
287+
### Update the `Dockerfile` for multi-stage builds
288288

289289
```Dockerfile
290290
FROM public.ecr.aws/lambda/nodejs:22 AS base

0 commit comments

Comments
 (0)