FROM node:erbium-alpine as build-stage WORKDIR /app COPY package.json . RUN yarn COPY . . RUN yarn build FROM nginx:1.17.9-alpine as production-stage RUN mkdir /app COPY --from=build-stage /app/dist /app COPY config/docker/nginx.conf /etc/nginx/conf.d/nexus-timers.conf