rework layers
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
FROM node:8 as build
|
FROM node:8 as build
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY package.json package.json
|
COPY .bowerrc bower.json ./
|
||||||
|
RUN npm run bower install
|
||||||
|
COPY package.json ./
|
||||||
RUN npm install
|
RUN npm install
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run bower install
|
|
||||||
RUN npm run pub
|
RUN npm run pub
|
||||||
|
|
||||||
FROM nginx:mainline as runtime
|
FROM nginx:mainline as runtime
|
||||||
|
|||||||
Reference in New Issue
Block a user