diff --git a/docs/serving/samples/hello-world/helloworld-nodejs/Dockerfile b/docs/serving/samples/hello-world/helloworld-nodejs/Dockerfile index 222958cee..5bf4b67c9 100644 --- a/docs/serving/samples/hello-world/helloworld-nodejs/Dockerfile +++ b/docs/serving/samples/hello-world/helloworld-nodejs/Dockerfile @@ -1,6 +1,6 @@ -# Use the official Node.js 10 image. +# Use the official Node.js 12 image. # https://hub.docker.com/_/node -FROM node:10 +FROM node:12 # Create and change to the app directory. WORKDIR /usr/src/app diff --git a/docs/serving/samples/hello-world/helloworld-nodejs/README.md b/docs/serving/samples/hello-world/helloworld-nodejs/README.md index e7ee54a8b..ba696cfa8 100644 --- a/docs/serving/samples/hello-world/helloworld-nodejs/README.md +++ b/docs/serving/samples/hello-world/helloworld-nodejs/README.md @@ -95,9 +95,9 @@ cd knative-docs/docs/serving/samples/hello-world/helloworld-nodejs [Dockerizing a Node.js web app](https://nodejs.org/en/docs/guides/nodejs-docker-webapp/). ```Dockerfile - # Use the official Node.js 10 image. + # Use the official Node.js 12 image. # https://hub.docker.com/_/node - FROM node:10 + FROM node:12 # Create and change to the app directory. WORKDIR /usr/src/app