FROM node:erbium-alpine as build-stage RUN apk add python2 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