From cb9cc7d4ebced5f38e98e3a3d0120a78d334b6d5 Mon Sep 17 00:00:00 2001 From: Chimi1999 <143087281+Chimi1999@users.noreply.github.com> Date: Wed, 11 Dec 2024 15:37:11 +0600 Subject: [PATCH] Update Dockerfile.api-gateway Signed-off-by: Chimi1999 <143087281+Chimi1999@users.noreply.github.com> --- Dockerfiles/Dockerfile.api-gateway | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfiles/Dockerfile.api-gateway b/Dockerfiles/Dockerfile.api-gateway index 45e8c265c..a95a49f5c 100644 --- a/Dockerfiles/Dockerfile.api-gateway +++ b/Dockerfiles/Dockerfile.api-gateway @@ -1,6 +1,8 @@ # Stage 1: Build the application FROM node:18-alpine as build -RUN npm install -g pnpm +RUN npm install -g pnpm --ignore-scripts \ + && apk update \ + && apk add openssh-client \ # Set the working directory WORKDIR /app @@ -21,7 +23,9 @@ RUN pnpm run build api-gateway # Stage 2: Create the final image FROM node:18-alpine -RUN npm install -g pnpm +RUN npm install -g pnpm --ignore-scripts \ + && apk update \ + && apk add openssh-client \ # Set the working directory WORKDIR /app