I think we need this to actually be running with NPM.

This commit is contained in:
Evans Tucker 2018-06-15 17:53:03 -07:00
parent 941c4aebdb
commit 4b5039f369
1 changed files with 2 additions and 5 deletions

View File

@ -1,11 +1,8 @@
FROM node:8.11-alpine as builder
FROM node:8.11-alpine
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm install -g grunt-cli
RUN grunt
# This is the final container that serves the static content.
FROM nginx:alpine
COPY --from=builder /usr/src/app/dist /usr/share/nginx/html
RUN npm start