From 74b574ada2da4c0dae6d92b893001b4e835cf5cf Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Thu, 11 Jul 2024 23:59:18 +0100 Subject: [PATCH] build: prevent usage of git ssh during docker npm install --- scripts/docker/Dockerfile.frontend | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/docker/Dockerfile.frontend b/scripts/docker/Dockerfile.frontend index b78bb57413..fa46fc7b95 100644 --- a/scripts/docker/Dockerfile.frontend +++ b/scripts/docker/Dockerfile.frontend @@ -4,7 +4,8 @@ WORKDIR /usr/src/app/frontend COPY frontend . ## SETUP -RUN npm install +RUN git config --global url.https://github.com/.insteadOf git@github.com: \ + && npm install # SERVE COPY tasking-manager.env ..