From f36f33e3173fc2d246c63e5589ca0f99ae7ca374 Mon Sep 17 00:00:00 2001 From: Adam Ross Date: Wed, 6 Mar 2019 11:28:41 -0800 Subject: [PATCH] serving/samples/helloworld-nodejs: specifically require package.json (#956) --- serving/samples/helloworld-nodejs/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serving/samples/helloworld-nodejs/Dockerfile b/serving/samples/helloworld-nodejs/Dockerfile index 91cf8742e..62b4f7dee 100644 --- a/serving/samples/helloworld-nodejs/Dockerfile +++ b/serving/samples/helloworld-nodejs/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /usr/src/app # Copy application dependency manifests to the container image. # A wildcard is used to ensure both package.json AND package-lock.json are copied. # Copying this separately prevents re-running npm install on every code change. -COPY package*.json ./ +COPY package.json package*.json ./ # Install production dependencies. RUN npm install --only=production