feat: Use latest Node LTS for samples (#1640)

This commit is contained in:
Grant Timmerman 2019-08-02 11:13:44 -07:00 committed by Knative Prow Robot
parent e98e034bbd
commit 2e839ace71
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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