From 401296cd8018ea8a5451a6f21258bd491e330acb Mon Sep 17 00:00:00 2001 From: Vitor Hugo Salgado Date: Fri, 4 Feb 2022 12:08:50 -0300 Subject: [PATCH] chore: update nodejs version --- .nvmrc | 2 +- build/docker/Dockerfile | 4 ++-- build/docker/Dockerfile.dev | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.nvmrc b/.nvmrc index f0b10f15..53a42214 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16.13.1 +v16.13.2 diff --git a/build/docker/Dockerfile b/build/docker/Dockerfile index 43452702..7a6ee30c 100644 --- a/build/docker/Dockerfile +++ b/build/docker/Dockerfile @@ -1,6 +1,6 @@ # Build Stage # --- -FROM node:14 AS builder +FROM node:16 AS builder WORKDIR /opt/app COPY package*.json ./ @@ -11,7 +11,7 @@ RUN rm -rf node_modules && npm i --production --ignore-scripts # Run Stage # --- -FROM gcr.io/distroless/nodejs:14 +FROM gcr.io/distroless/nodejs:16 USER nobody diff --git a/build/docker/Dockerfile.dev b/build/docker/Dockerfile.dev index 3c4f35d4..a8c903b0 100644 --- a/build/docker/Dockerfile.dev +++ b/build/docker/Dockerfile.dev @@ -1,3 +1,3 @@ -FROM node:14.17.3 +FROM node:16.13.2 WORKDIR /app CMD npm start