From 3a5cd2df105c5c739291bf8c19fcb46d36650abf Mon Sep 17 00:00:00 2001 From: Sai Ranjit Tummalapalli Date: Mon, 27 May 2024 20:13:19 +0530 Subject: [PATCH] fix: docker file patches Signed-off-by: Sai Ranjit Tummalapalli --- Dockerfile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index e03d063..e045f9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,11 @@ FROM ubuntu:20.04 as base ENV DEBIAN_FRONTEND noninteractive RUN apt-get update -y && apt-get install -y \ - apt-transport-https \ - curl \ - make \ - gcc \ - g++ + apt-transport-https \ + curl \ + make \ + gcc \ + g++ # nodejs RUN curl -sL https://deb.nodesource.com/setup_18.x | bash @@ -28,6 +28,9 @@ WORKDIR /www COPY package.json /www/package.json COPY yarn.lock /www/yarn.lock +# Copy patches folder +COPY patches /www/patches + # Run yarn install RUN yarn install @@ -47,6 +50,9 @@ COPY --from=setup /tmp/yarn-cache /tmp/yarn-cache COPY package.json /www/package.json COPY yarn.lock /www/yarn.lock +# Copy patches folder +COPY patches /www/patches + WORKDIR /www # Run yarn install