Update docker file to remove dependency on cr-connect-angular-base
This commit is contained in:
parent
05e93c4c68
commit
4f1e6429f4
12
Dockerfile
12
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
|
||||
|
|
Loading…
Reference in New Issue