pidgin/nest

closing merged branch
remove-old-protocols
2019-04-16, Gary Kramlich
280560865eb6
closing merged branch
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