open-nomad/website/Dockerfile
Mahmood Ali eeed304040 website: require Node v12
Start using Node.js v12.19.0, the most recent active LTS that is
supported by Vercel:
https://vercel.com/docs/runtimes#official-runtimes/node-js/node-js-version
.

The docs now require String.prototype.matchAll, that's part of ES2020
support, and is not available on Node.js 10.x.
2020-11-02 11:24:39 -05:00

8 lines
273 B
Docker

FROM docker.mirror.hashicorp.services/node:12.19.0-alpine
RUN apk add --update --no-cache git make g++ automake autoconf libtool nasm libpng-dev
COPY ./package.json /website/package.json
COPY ./package-lock.json /website/package-lock.json
WORKDIR /website
RUN npm install