Skip to content

Commit

Permalink
Update Dockerfile.api-gateway
Browse files Browse the repository at this point in the history
Signed-off-by: Chimi1999 <[email protected]>
  • Loading branch information
Chimi1999 authored Dec 11, 2024
1 parent 54179df commit cb9cc7d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfiles/Dockerfile.api-gateway
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

Expand Down

0 comments on commit cb9cc7d

Please sign in to comment.