From 4b5039f36979cc9fd5eeebe29b038ff819618da2 Mon Sep 17 00:00:00 2001 From: Evans Tucker Date: Fri, 15 Jun 2018 17:53:03 -0700 Subject: [PATCH] I think we need this to actually be running with NPM. --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 152e242..c39c07c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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