cr-connect-bpmn/Dockerfile

17 lines
300 B
Docker
Raw Normal View History

### STAGE 1: Build ###
2020-02-01 15:40:34 +00:00
FROM node:alpine AS builder
RUN mkdir /crc-bpmn
WORKDIR /crc-bpmn
2020-02-01 15:40:34 +00:00
ADD package.json /crc-bpmn/
COPY . /crc-bpmn/
2020-01-28 21:43:38 +00:00
2020-02-01 15:40:34 +00:00
RUN npm install && \
npm run build:staging
### STAGE 2: Run ###
FROM nginx:alpine
COPY --from=builder /crc-bpmn/dist/cr-connect-bpmn /usr/share/nginx/html/