client/build: update builder image Node.js version to LTS

Fixes #412
The older stylus version throws some warnings in Node.js LTS. The new one doesn't.
This commit is contained in:
neobooru
2021-06-04 17:12:21 +02:00
parent f497dca92f
commit 3cabe790a7
3 changed files with 240 additions and 109 deletions

View File

@ -1,7 +1,8 @@
FROM node:9 as builder
FROM node:lts as builder
WORKDIR /opt/app
COPY package.json package-lock.json ./
RUN npm install -g npm@lts
RUN npm install
COPY . ./