Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
a5b75e63
Unverified
Commit
a5b75e63
authored
11 months ago
by
Michael Kriese
Committed by
GitHub
11 months ago
Browse files
Options
Downloads
Patches
Plain Diff
build: use corepack pnpm (#28684)
parent
0bde0bd2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/docker/Dockerfile
+2
-2
2 additions, 2 deletions
tools/docker/Dockerfile
with
2 additions
and
2 deletions
tools/docker/Dockerfile
+
2
−
2
View file @
a5b75e63
...
...
@@ -22,13 +22,13 @@ ENV CI=1 npm_config_modules_cache_max_age=0
COPY
pnpm-lock.yaml ./
# only fetch deps from lockfile https://pnpm.io/cli/fetch
RUN
pnpm fetch
--prod
RUN
corepack
pnpm fetch
--prod
COPY
. ./
# install
RUN
set
-ex
;
\
pnpm
install
--prod
--offline
--ignore-scripts
;
\
corepack
pnpm
install
--prod
--offline
--ignore-scripts
;
\
true
# test
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment