From a59d300cc29aafbee763447dcbdb57ccc98767d7 Mon Sep 17 00:00:00 2001 From: Lukasz Zimnoch Date: Fri, 5 Jul 2024 15:24:56 +0200 Subject: [PATCH] Bump node version for monitoring Docker --- monitoring/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/monitoring/Dockerfile b/monitoring/Dockerfile index 2212d741e..5159ba27d 100644 --- a/monitoring/Dockerfile +++ b/monitoring/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14-alpine as builder +FROM node:18-alpine as builder # Add packages necessary to perform the build process. RUN apk add --update --no-cache \ @@ -25,7 +25,6 @@ COPY tsconfig.json ./ COPY src ./src RUN yarn install --frozen-lockfile --ignore-scripts -RUN yarn run postinstall RUN yarn build @@ -33,12 +32,11 @@ RUN yarn build RUN rm -rf ./node_modules RUN rm -rf ./external RUN yarn install --production --frozen-lockfile --ignore-scripts -RUN yarn run postinstall # Prune other unnecessary files from dependencies using node-prune. RUN node-prune -FROM node:14-alpine as runner +FROM node:18-alpine as runner WORKDIR /monitoring