anchor.diff:  RUN npm run build
   
   #
  -# Builder stage
  +# Stage 2: build API docs
   #
  -FROM ubuntu:19.10 as builder
  +FROM ruby:2.3 AS docs-builder
  +
  +RUN apt-get update && apt-get install -y nodejs \
  +  && apt-get clean && rm -rf /var/lib/apt/lists/*
  +
  +WORKDIR /opt/builds
  +COPY ./api-docs .
  +
  +# Install dependencies
  +RUN bundle install
  +
  +# Build docs
  +RUN rake build
  +
  +#
  +# Stage 3: build dev center
  +#
  +FROM ubuntu:19.10 as dev-center-builder
   
   RUN apt-get update && \
     apt-get install -y \
  
positive.code: 
  RUN bundle install
  
  #
  # Build Dev Center sites
  #
  
  # Copy Synapse dist/ files
  COPY --from=style-builder /app/dist ./synapse/dist
  
  RUN ./build.sh
  
  #
  # Final stage: use the build artifacts from builder stage
  #
  FROM node:10.14-slim
  
  WORKDIR /opt/src/app
  
  COPY --from=builder /opt/builds/sites ./sites
  
  COPY server/index.js ./server/index.js
  COPY config ./config
  
negative.code: 
  #
  # Stage 1: build Synapse dist/ files
  #
  FROM node:10.14 as style-builder
  
  