Skip to content

Commit 03507ba

Browse files
authored
Update 09_image_best.md - 18-alpine image
1 parent 16c86ec commit 03507ba

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Look at the following Dockerfile you created for the getting started app.
6161

6262
```dockerfile
6363
# syntax=docker/dockerfile:1
64-
FROM node:18-alpine
64+
FROM node:lts-alpine
6565
WORKDIR /app
6666
COPY . .
6767
RUN yarn install --production
@@ -81,7 +81,7 @@ dependencies if there was a change to the `package.json`.
8181

8282
```dockerfile
8383
# syntax=docker/dockerfile:1
84-
FROM node:18-alpine
84+
FROM node:lts-alpine
8585
WORKDIR /app
8686
COPY package.json yarn.lock ./
8787
RUN yarn install --production
@@ -103,10 +103,10 @@ dependencies if there was a change to the `package.json`.
103103
=> => transferring dockerfile: 175B
104104
=> [internal] load .dockerignore
105105
=> => transferring context: 2B
106-
=> [internal] load metadata for docker.io/library/node:18-alpine
106+
=> [internal] load metadata for docker.io/library/node:lts-alpine
107107
=> [internal] load build context
108108
=> => transferring context: 53.37MB
109-
=> [1/5] FROM docker.io/library/node:18-alpine
109+
=> [1/5] FROM docker.io/library/node:lts-alpine
110110
=> CACHED [2/5] WORKDIR /app
111111
=> [3/5] COPY package.json yarn.lock ./
112112
=> [4/5] RUN yarn install --production
@@ -127,10 +127,10 @@ dependencies if there was a change to the `package.json`.
127127
=> => transferring dockerfile: 37B
128128
=> [internal] load .dockerignore
129129
=> => transferring context: 2B
130-
=> [internal] load metadata for docker.io/library/node:18-alpine
130+
=> [internal] load metadata for docker.io/library/node:lts-alpine
131131
=> [internal] load build context
132132
=> => transferring context: 450.43kB
133-
=> [1/5] FROM docker.io/library/node:18-alpine
133+
=> [1/5] FROM docker.io/library/node:lts-alpine
134134
=> CACHED [2/5] WORKDIR /app
135135
=> CACHED [3/5] COPY package.json yarn.lock ./
136136
=> CACHED [4/5] RUN yarn install --production

0 commit comments

Comments
 (0)