Skip to content

Commit

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

RUN npm install -g pnpm
RUN apt-get update -y
RUN apt-get --no-install-recommends install -y openssl
# Set the working directory
Expand All @@ -30,9 +27,7 @@ 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 --ignore-scripts \
&& apk update \
&& apk add openssl
RUN npm install -g pnpm

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

0 comments on commit d427dbb

Please sign in to comment.