From ee29fcb6e51b5a54e93992084c7948ac07481168 Mon Sep 17 00:00:00 2001 From: princegupta1131 <114015020+princegupta1131@users.noreply.github.com> Date: Tue, 11 Jun 2024 13:31:31 +0530 Subject: [PATCH] ED-4000 feat: Github actions instead of Jenkins-test --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1bea5c8c873..217589277e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,14 +9,18 @@ ENV buildCdnAssets=${buildCdnAssets} # Set the working directory for the client build WORKDIR /usr/src/app/client +# Install npm +RUN apt-get update && apt-get install -y npm + +# Install Yarn +RUN npm install -g yarn # Copy the client code into the Docker container COPY src/app/client ./ RUN rm -rf node_modules yarn.lock RUN yarn cache clean -# Install Yarn -RUN npm install -g yarn + # Install client dependencies RUN yarn install --no-progress --frozen-lockfile --production=true