pidgin/nest

f12f4f510651
[minor] tidy up of visual-diff
FROM debian:buster as build
RUN set -ex && \
apt-get update && \
apt-get install -y hugo npm && \
npm i -g npm@6.4.1 && \
apt-get clean && \
rm -rf /var/lib/apt/lists
COPY package-lock.json package.json /nest/
RUN set -ex && \
cd /nest && \
npm ci --production && \
npm cache clean --force
COPY . /nest
RUN hugo -s /nest/hugo -d /nest/public && \
node /nest/tools/pre-prod.js
FROM rwgrim/goserve
COPY --from=build /nest/public /html
EXPOSE 3000/tcp