mirror of https://github.com/knative/docs.git
feat: Use latest Node LTS for samples (#1640)
This commit is contained in:
parent
e98e034bbd
commit
2e839ace71
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue