From e7447d951fb93c32ade6961bd7220ccdd9113005 Mon Sep 17 00:00:00 2001 From: Charles Overbeck Date: Tue, 20 Mar 2018 15:43:10 -0700 Subject: [PATCH] Fix Dockerfile errors Need to run npm install in spa subdir --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4f3dee8..8692fef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,9 @@ COPY . /usr/src/app/ RUN npm install RUN npm -g install grunt-cli RUN npm -g install typescript@2.7.2 +WORKDIR /usr/src/app/spa +RUN npm install +WORKDIR /usr/src/app RUN grunt build RUN rm boardwalk.zip RUN rm -rf spa/node_modules