pidgin/nest

[Minor] Content Jiggle

2019-12-29, Jason
30dccbc81b73
[Minor] Content Jiggle

Rearrange content to be easier to navigate and less noisy on the menu bar

I think it's important to arrange the site to be optimised for non -technical end-users. So development oriented content needs to be contained to its own section. While end-user oriented content is accesible at first glance

I've moved content arround, merged some section, renamed some sections and reweighted.
#####################################################################
# run the hugo build
#####################################################################
FROM debian:buster as hugo-build
RUN set -ex && \
apt-get update && \
apt-get install -y hugo && \
apt-get clean && \
rm -rf /var/lib/apt/lists
ARG BUILD_NAME
ARG BUILD_DATE
ARG COMMIT
COPY hugo /nest/hugo
RUN hugo -s /nest/hugo -d /nest/public
#####################################################################
# setup up our node environment
#####################################################################
FROM node:10-stretch-slim as node-build
WORKDIR /nest/
COPY package-lock.json package.json ./
RUN npm ci --production && \
npm cache clean --force
COPY tools ./tools
COPY --from=hugo-build /nest/public public
RUN node tools/pre-prod.js
#####################################################################
# finally package everything up with rwgrim/goserve
#####################################################################
FROM rwgrim/goserve
COPY --from=node-build /nest/public /html/
EXPOSE 3000/tcp