From 205ccf23d5523b7a19457f5259da567315142fa2 Mon Sep 17 00:00:00 2001 From: Borghild Date: Tue, 21 Jan 2025 12:20:23 +0100 Subject: [PATCH] :art: add corepack --- web/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/web/Dockerfile b/web/Dockerfile index 1b80a7414..ca455d2eb 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -6,6 +6,7 @@ FROM ${ARG_DYNATRACE_IMAGE} AS dynatrace FROM node:18-alpine AS deps # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. RUN apk add --no-cache libc6-compat +RUN corepack enable WORKDIR /app ENV NODE_OPTIONS="--max_old_space_size=8192"