-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: enforce pnpm v9.3.0 for frontend dep install
- Loading branch information
1 parent
8b4e2e9
commit c91b665
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ WORKDIR /app | |
COPY ./package.json ./pnpm-lock.yaml ./ | ||
ENV PNPM_HOME="/pnpm" | ||
ENV PATH="$PNPM_HOME:$PATH" | ||
RUN corepack enable | ||
RUN corepack enable && corepack use [email protected] | ||
RUN pnpm install | ||
ENV NODE_ENV development | ||
ENTRYPOINT ["pnpm", "run", "dev"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ WORKDIR /app | |
COPY ./package.json ./pnpm-lock.yaml ./ | ||
ENV PNPM_HOME="/pnpm" | ||
ENV PATH="$PNPM_HOME:$PATH" | ||
RUN corepack enable | ||
RUN corepack enable && corepack use [email protected] | ||
RUN pnpm install | ||
|
||
ARG NODE_ENV | ||
|