From 6fba187d9e63d5af30d6de12f0c36c5844b5c8b6 Mon Sep 17 00:00:00 2001 From: Alex Layton Date: Thu, 12 Dec 2024 12:11:34 -0500 Subject: [PATCH] fix: more corepack stuff --- oada/Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/oada/Dockerfile b/oada/Dockerfile index 2f48f115..38c396f6 100644 --- a/oada/Dockerfile +++ b/oada/Dockerfile @@ -105,16 +105,18 @@ ARG OADA_SERVICE ENV OADA_SERVICE=${OADA_SERVICE} ENV INSPECT= +# Have corepack download yarn +ENV COREPACK_HOME=/oada/.cache/node/corepack +RUN corepack enable +RUN corepack install + WORKDIR /oada/services/${OADA_SERVICE} # Do not run services as root USER node ENV PORT=8080 -# Have corepack download yarn -RUN corepack install; - -FROM production as debug +FROM production AS debug USER root