cr-connect-bpmn/Dockerfile
2020-02-01 10:40:34 -05:00

17 lines
300 B
Docker

### STAGE 1: Build ###
FROM node:alpine AS builder
RUN mkdir /crc-bpmn
WORKDIR /crc-bpmn
ADD package.json /crc-bpmn/
COPY . /crc-bpmn/
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/