This is an automated email from the ASF dual-hosted git repository.
mrutkowski pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-openwhisk-devtools.git
The following commit(s) were added to refs/heads/master by this push:
new 9076168 updating dir structure in Dockerfile (#222)
9076168 is described below
commit 9076168bd3214700350ff700f0e157e679804c36
Author: Priti Desai <[email protected]>
AuthorDate: Tue Mar 19 12:49:51 2019 -0700
updating dir structure in Dockerfile (#222)
---
knative-build/runtimes/javascript/Dockerfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/knative-build/runtimes/javascript/Dockerfile
b/knative-build/runtimes/javascript/Dockerfile
index 82bac0b..621fcc7 100644
--- a/knative-build/runtimes/javascript/Dockerfile
+++ b/knative-build/runtimes/javascript/Dockerfile
@@ -23,8 +23,8 @@ RUN apt-get update && apt-get install -y \
WORKDIR /nodejsAction
COPY . .
# COPY the package.json to root container, so we can install npm packages a
level up from user's packages, so user's packages take precedence
-COPY ./runtimes/javascript/package.json /
+COPY ./knative-build/runtimes/javascript/package.json /
RUN cd / && npm install --no-package-lock \
&& npm cache clean --force
EXPOSE 8080
-CMD node --expose-gc ./runtimes/javascript/app.js
+CMD node --expose-gc ./knative-build/runtimes/javascript/app.js