From 29dd8a6cbc084c62ec00ce5a84c139005f95ad85 Mon Sep 17 00:00:00 2001 From: Melissa Autumn Date: Mon, 11 Dec 2023 08:24:19 -0800 Subject: [PATCH] Actually install yarn on the stage build --- frontend/deploy.dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/deploy.dockerfile b/frontend/deploy.dockerfile index 85537867..5a03bf02 100644 --- a/frontend/deploy.dockerfile +++ b/frontend/deploy.dockerfile @@ -10,6 +10,8 @@ RUN mv /build/frontend/.env.staging.example /build/frontend/.env.staging RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\ apt-get install -y nodejs +RUN npm install --global yarn + # Build site RUN cd /build/frontend && yarn install RUN cd /build/frontend && yarn build -- --mode stage