Trying slightly different base images, in case that's the problem

This commit is contained in:
Aaron Louie 2020-04-14 22:07:20 -04:00
parent 1b303a56e1
commit a7afdfaa9e

View File

@ -1,5 +1,5 @@
### STAGE 1: Build ###
FROM node:alpine AS builder
FROM node AS builder
RUN mkdir /crc-bpmn
WORKDIR /crc-bpmn
@ -13,7 +13,7 @@ RUN npm install && \
npm run build:$build_config
### STAGE 2: Run ###
FROM nginx:alpine
FROM nginx
COPY --from=builder /crc-frontend/dist/* /usr/share/nginx/html/
COPY --from=builder /crc-frontend/nginx.conf /etc/nginx/conf.d/default.conf
COPY ./docker/substitute-env-variables.sh ./entrypoint.sh