##################################################################### ##################################################################### FROM debian:buster as hugo-build apt-get
install
-y
hugo
&& \ rm
-rf
/var/lib/apt/lists
RUN hugo
-s
/nest/hugo
-d
/nest/public
##################################################################### # setup up our node environment ##################################################################### FROM node:10-stretch-slim as node-build COPY package-lock.json
package.json
./
RUN npm
ci
--production
&& \ COPY --from
=hugo-build
/nest/public
public
RUN node
tools/pre-prod.js
##################################################################### # finally package everything up with rwgrim/goserve ##################################################################### COPY --from
=node-build
/nest/public
/html/