From f1e17e9e6c6d76a4e018722704f07de57c365788 Mon Sep 17 00:00:00 2001 From: Mike Hepburn Date: Wed, 28 Aug 2024 14:46:01 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=B8=20arm64=20build=20=F0=9F=AA=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2b3b3be..d42d5de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,13 @@ -FROM registry.access.redhat.com/ubi8/nodejs-16:latest AS builder +FROM registry.access.redhat.com/ubi8/nodejs-18:latest AS builder USER root RUN npm install -g corepack RUN corepack enable yarn COPY . /opt/app-root/src -RUN yarn install --frozen-lockfile && yarn build +RUN yarn config set network-timeout 300000 +RUN yarn global add node-gyp +RUN yarn install && yarn build FROM registry.access.redhat.com/ubi9/nginx-120:latest COPY default.conf "${NGINX_CONFIGURATION_PATH}"