Skip to content

Commit

Permalink
fix: pin pnpm version with corepack prepare to resolve signature veri…
Browse files Browse the repository at this point in the history
…fication error
  • Loading branch information
SuhJae committed Feb 3, 2025
1 parent bcfaa99 commit d0eaf53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ ARG NODE_VERSION=23.5.0
# Create build stage
FROM node:${NODE_VERSION}-slim AS build

# Enable pnpm
# Enable and prepare pnpm with a known good version
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
RUN corepack prepare [email protected] --activate

# Set the working directory inside the container
WORKDIR /app
Expand Down

0 comments on commit d0eaf53

Please sign in to comment.