Skip to content

Commit b04982b

Browse files
authored
Replace node:18 with node:lts in 09_image_best.md
1 parent 0834e18 commit b04982b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/get-started/workshop/09_image_best.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ for your production build. You can ship the static resources in a static nginx c
182182

183183
```dockerfile
184184
# syntax=docker/dockerfile:1
185-
FROM node:18 AS build
185+
FROM node:lts AS build
186186
WORKDIR /app
187187
COPY package* yarn.lock ./
188188
RUN yarn install
@@ -194,7 +194,7 @@ FROM nginx:alpine
194194
COPY --from=build /app/build /usr/share/nginx/html
195195
```
196196

197-
In the previous Dockerfile example, it uses the `node:18` image to perform the build (maximizing layer caching) and then copies the output
197+
In the previous Dockerfile example, it uses the `node:lts` image to perform the build (maximizing layer caching) and then copies the output
198198
into an nginx container.
199199

200200
## Summary

0 commit comments

Comments
 (0)