Update docker file to remove dependency on cr-connect-angular-base

This commit is contained in:
Dan 2021-01-11 18:29:31 -05:00
parent 05e93c4c68
commit 4f1e6429f4
1 changed files with 6 additions and 6 deletions

View File

@ -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