From 1bc790596f71c851b54ddbec77256e883140006c Mon Sep 17 00:00:00 2001 From: cryptooda Date: Sat, 1 Feb 2025 21:36:57 +0700 Subject: [PATCH] Update Dockerfile-web-ui-dev to use Node 18.16.0 and Alpine 3.17.2 --- src/Managing.WebApp/Dockerfile-web-ui-dev | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/Managing.WebApp/Dockerfile-web-ui-dev b/src/Managing.WebApp/Dockerfile-web-ui-dev index cf82d6a..9673c83 100644 --- a/src/Managing.WebApp/Dockerfile-web-ui-dev +++ b/src/Managing.WebApp/Dockerfile-web-ui-dev @@ -1,12 +1,10 @@ - -ARG NODE_VERSION=17 -ARG ALPINE_VERSION=3.19.0 - - +ARG NODE_VERSION=18.16.0 +ARG ALPINE_VERSION=3.17.2 FROM node:${NODE_VERSION}-alpine AS node -FROM alpine:${ALPINE_VERSION} AS builder +FROM alpine:${ALPINE_VERSION} + # Set the working directory in the container WORKDIR /app @@ -30,8 +28,9 @@ RUN apk update && apk add --no-cache git RUN rm -f /usr/local/bin/yarn /usr/local/bin/yarnpkg # Install Yarn globally -RUN npm install -g yarn +RUN npm install -g yarn --force +RUN yarn -v #RUN npm i --max-old-space-size=12000 --loglevel=verbose RUN yarn add eslint-plugin-jsdoc@37.9.7 --dev --ignore-engines