Skip to content

Commit

Permalink
Update Dockerfile.user
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 a905f44 commit a8075be
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfiles/Dockerfile.user
Original file line number Diff line number Diff line change
@@ -1,8 +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

# We don't need the standalone Chromium
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
Expand Down Expand Up @@ -37,9 +35,6 @@ RUN pnpm run build user

# Stage 2: Create the final image
FROM node:18-slim
RUN npm install -g pnpm --ignore-scripts \
&& apk update \
&& apk add openssl

# We don't need the standalone Chromium
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
Expand Down

0 comments on commit a8075be

Please sign in to comment.