FROM node:12.13.1-stretch # Set working directory WORKDIR /app # Install dependencies RUN npm config set @strata:registry http://proget.sdt.local/npm/npm COPY src/Strata.KitchenSink.Web/kitchensink/package*.json ./ RUN npm install # Copy in rest of app and build COPY src/Strata.KitchenSink.Web/kitchensink . RUN npm run build # Build release container FROM nginx:alpine COPY --from=0 /app/build /usr/share/nginx/html COPY src/Strata.KitchenSink.Web/nginx.conf /etc/nginx/conf.d/default.conf