From 4f1e6429f4042730e56f717ee80363635262b9ae Mon Sep 17 00:00:00 2001 From: Dan Date: Mon, 11 Jan 2021 18:29:31 -0500 Subject: [PATCH] Update docker file to remove dependency on cr-connect-angular-base --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6ff7fc2..cd68471 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ ### STAGE 1: Build ### -FROM sartography/cr-connect-angular-base AS builder - +FROM node AS builder +RUN mkdir /app +WORKDIR /app +ADD package.json /app/ +ADD package-lock.json /app/ COPY . /app/ - -ARG build_config=prod -RUN npm install && \ - npm run build:$build_config +RUN npm install ### STAGE 2: Run ### FROM nginx:alpine