From a486536667b45fb570bb824f1dbc4084bc982669 Mon Sep 17 00:00:00 2001 From: maxsibilla Date: Thu, 4 Jan 2024 13:28:04 -0500 Subject: [PATCH] Updating dockerfile with nodejs fix --- docker/portal-ui/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/portal-ui/Dockerfile b/docker/portal-ui/Dockerfile index 31705ab63..77453d42f 100644 --- a/docker/portal-ui/Dockerfile +++ b/docker/portal-ui/Dockerfile @@ -15,8 +15,8 @@ COPY . . # Update to latest npm # Copy the entrypoint script and make it executible # Clean all yum cache -RUN yum install https://rpm.nodesource.com/pub_18.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y && \ - yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1 && \ +RUN curl -fsSL https://rpm.nodesource.com/setup_18.x | bash - && \ + yum install -y nodejs && \ npm install npm@latest -g && \ cp /usr/src/app/entrypoint.sh /usr/local/bin/entrypoint.sh && \ chmod +x /usr/local/bin/entrypoint.sh && \