From e00234dfb921583a35f6b97a11b8df143cfe683d Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn Date: Mon, 6 Dec 2021 23:52:23 -0800 Subject: [PATCH] Set Dockerfiles to use Node v16.10.0 --- docker/backend/Dockerfile | 4 ++-- docker/frontend/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/backend/Dockerfile b/docker/backend/Dockerfile index bd5d7e4b9..ceddc9000 100644 --- a/docker/backend/Dockerfile +++ b/docker/backend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:12-buster-slim AS builder +FROM node:16.10.0-buster-slim AS builder WORKDIR /build COPY . . @@ -8,7 +8,7 @@ RUN apt-get install -y build-essential python3 pkg-config RUN npm install RUN npm run build -FROM node:12-buster-slim +FROM node:16.10.0-buster-slim WORKDIR /backend diff --git a/docker/frontend/Dockerfile b/docker/frontend/Dockerfile index 9243e7cb9..34c41119c 100644 --- a/docker/frontend/Dockerfile +++ b/docker/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:12-buster-slim AS builder +FROM node:16.10.0-buster-slim AS builder ARG commitHash ENV DOCKER_COMMIT_HASH=${commitHash}