File tree Expand file tree Collapse file tree 5 files changed +1057
-1078
lines changed
Expand file tree Collapse file tree 5 files changed +1057
-1078
lines changed Original file line number Diff line number Diff line change 1- 20.7.0
1+ 22.13.1
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- compressionLevel : mixed
2-
3- enableGlobalCache : false
4-
5- nodeLinker : node-modules
1+ nodeLinker : pnp
62
73packageExtensions :
84 debug@* :
Original file line number Diff line number Diff line change 1- FROM node:20
1+ FROM node:22
22
33# Install rsync
44RUN apt-get update && apt-get install -y rsync
@@ -10,22 +10,6 @@ WORKDIR /usr/src/app
1010COPY .yarn/releases .yarn/releases
1111COPY .yarnrc.yml yarn.lock package.json ./
1212
13- # Copy only the elements needed for a Yarn install to take advantage of
14- # Docker's layer caching
15- # This is complex because we are working with multiple workspaces.
16-
17- # Copy package JSON files with wildcards
18- # This scoops up all package.json files in the directory and subdirectories
19- # to deal with Yarn workspaces. However it requires BUILDKIT to be enabled,
20- # which is done by setting DOCKER_BUILDKIT=1 in the environment
21- RUN --mount=type=bind,target=/docker-context \
22- cd /docker-context/; \
23- find . -name "package.json" -mindepth 0 -maxdepth 5 -exec cp --parents "{}" /usr/src/app/ \;
24-
25- RUN yarn install --immutable
26-
27-
28-
2913# Load the cache from the previous build
3014RUN --mount=type=cache,target=/yarn-cache \
3115 rsync -a /yarn-cache/ .yarn/cache/ \
You can’t perform that action at this time.
0 commit comments