Set Dockerfiles to use Node v16.10.0

This commit is contained in:
Felipe Knorr Kuhn 2021-12-06 23:52:23 -08:00
parent 1e40ec4fd0
commit e00234dfb9
No known key found for this signature in database
GPG Key ID: 79619B52BB097C1A
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM node:12-buster-slim AS builder FROM node:16.10.0-buster-slim AS builder
WORKDIR /build WORKDIR /build
COPY . . COPY . .
@ -8,7 +8,7 @@ RUN apt-get install -y build-essential python3 pkg-config
RUN npm install RUN npm install
RUN npm run build RUN npm run build
FROM node:12-buster-slim FROM node:16.10.0-buster-slim
WORKDIR /backend WORKDIR /backend

View File

@ -1,4 +1,4 @@
FROM node:12-buster-slim AS builder FROM node:16.10.0-buster-slim AS builder
ARG commitHash ARG commitHash
ENV DOCKER_COMMIT_HASH=${commitHash} ENV DOCKER_COMMIT_HASH=${commitHash}