rework layers

This commit is contained in:
Tommy Parnell
2018-09-28 15:26:36 -04:00
parent 7ee7150a90
commit 736089533b

View File

@@ -1,9 +1,10 @@
FROM node:8 as build
WORKDIR /build
COPY package.json package.json
COPY .bowerrc bower.json ./
RUN npm run bower install
COPY package.json ./
RUN npm install
COPY . .
RUN npm run bower install
RUN npm run pub
FROM nginx:mainline as runtime