From 5dfc970107334edb7842f157b8701ec7803f26b1 Mon Sep 17 00:00:00 2001 From: Gunasekar-K Date: Thu, 4 May 2023 15:56:34 +0530 Subject: [PATCH] Yarn cache issue due to root file system security Yarn cache issue due to root file system security --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 89879a2c..35566b0b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,6 +8,6 @@ COPY . /challenge-api WORKDIR /challenge-api # Install the dependencies from package.json -RUN yarn install +RUN HOME=$(pwd) yarn install -CMD yarn start \ No newline at end of file +CMD yarn start