From 4470eb400aa840fe3e7b58bf7afc113b547ab954 Mon Sep 17 00:00:00 2001 From: Bram Date: Wed, 20 Aug 2025 14:32:29 +0200 Subject: [PATCH] replace with yarn --- Dockers/strapi/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockers/strapi/Dockerfile b/Dockers/strapi/Dockerfile index e411048..2c5d7f0 100644 --- a/Dockers/strapi/Dockerfile +++ b/Dockers/strapi/Dockerfile @@ -11,8 +11,9 @@ WORKDIR /opt/app # Copy only package.json and package-lock.json first for better caching COPY ./strapi/package.json ./strapi/package-lock.json ./ -# Install all dependencies (including devDependencies) -RUN npm i -g yarn + +RUN yarn install + # Copy the rest of the Strapi app to a template directory COPY ./strapi /opt/app-template