Skip to content

Commit e87f668

Browse files
committed
build: update docker
1 parent de09224 commit e87f668

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ WORKDIR /app
77
COPY . .
88

99
RUN --mount=type=cache,id=yarn,target=/root/.yarn \
10-
yarn install --frozen-lockfile --ignore-engines \
11-
&& yarn build
10+
corepack enable \
11+
&& yarn install --immutable \
12+
&& yarn build
1213

1314
# Production npm modules
1415

@@ -22,7 +23,8 @@ COPY --from=dev /app/package.json /app
2223
COPY --from=dev /app/build/ /app/build
2324

2425
RUN --mount=type=cache,id=yarn,target=/root/.yarn \
25-
yarn install --production --frozen-lockfile --ignore-engines
26+
corepack enable \
27+
&& yarn workspaces focus --all --production
2628

2729
# Install foundy
2830
ENV FOUNDRY_DIR=/root/.foundry

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"test": "vitest"
1919
},
2020
"dependencies": {
21-
"@gearbox-protocol/sdk": "^3.0.0-vfour.223",
2221
"node-pty": "^1.0.0",
2322
"pino-pretty": "^13.0.0"
2423
},
@@ -29,6 +28,7 @@
2928
"@gearbox-protocol/eslint-config": "2.0.0-next.2",
3029
"@gearbox-protocol/liquidator-v2-contracts": "^2.2.2",
3130
"@gearbox-protocol/prettier-config": "2.0.0",
31+
"@gearbox-protocol/sdk": "^3.0.0-vfour.223",
3232
"@gearbox-protocol/types": "^1.14.3",
3333
"@types/node": "^22.12.0",
3434
"@uniswap/sdk-core": "^7.5.0",

0 commit comments

Comments
 (0)