From 2ee0bed0c14e77d43e614e4fbbf465f764e4c8da Mon Sep 17 00:00:00 2001 From: Anton Date: Wed, 25 Jan 2023 00:53:52 +0100 Subject: [PATCH] Allow Dockerfile to auto-update Node version (#1303) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b5ba619c..a1394f45 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # install packages -FROM node:14-alpine as builder +FROM node:lts-alpine as builder RUN mkdir /work WORKDIR /work RUN apk add --no-cache alpine-sdk python3 @@ -8,7 +8,7 @@ RUN mkdir -p node_modules RUN npm ci --only=production # fresh image without dev packages -FROM node:14-alpine +FROM node:lts-alpine # build-time metadata as defined at http://label-schema.org ARG BUILD_DATE ARG VCS_REF