Skip to content

Commit

Permalink
Update Dockerfile.cloud-wallet
Browse files Browse the repository at this point in the history
Signed-off-by: Chimi1999 <[email protected]>
  • Loading branch information
Chimi1999 authored Jan 10, 2025
1 parent 9201a66 commit e778261
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Dockerfiles/Dockerfile.cloud-wallet
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Stage 1: Build the application
FROM node:18-slim as build
RUN npm install -g pnpm
RUN npm install -g pnpm --ignore-scripts \
&& apk update \
&& apk add openssl

RUN apt-get update -y
RUN apt-get --no-install-recommends install -y openssl
# Set the working directory
WORKDIR /app

Expand All @@ -24,11 +24,12 @@ RUN pnpm run build cloud-wallet
# Stage 2: Create the final image
FROM node:18-slim

RUN apt-get update -y
RUN apt-get --no-install-recommends install -y openssl
# Set the working directory
WORKDIR /app
RUN npm install -g pnpm

RUN npm install -g pnpm --ignore-scripts \
&& apk update \
&& apk add openssl

# Copy the compiled code from the build stage
COPY --from=build /app/dist/apps/cloud-wallet/ ./dist/apps/cloud-wallet/
Expand Down

0 comments on commit e778261

Please sign in to comment.