File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,7 @@ COPY ./blocklock-solidity/package-lock.json ./
1616RUN npm install
1717
1818COPY ./blocklock-solidity ./
19- # forge needs git folder smh
20- COPY ./.git ../.git
21- # compile contracts
22- RUN npm run build:forge
19+ RUN FOUNDRY_PROFILE=build forge install --no-git && FOUNDRY_PROFILE=build forge build
2320
2421FROM sol_builder AS sol_randomness
2522WORKDIR /app/randomness-solidity
@@ -28,10 +25,7 @@ COPY ./randomness-solidity/package-lock.json ./
2825RUN npm install
2926
3027COPY ./randomness-solidity ./
31- # forge needs git folder smh
32- COPY ./.git ../.git
33- # compile contracts
34- RUN npm run build:forge
28+ RUN FOUNDRY_PROFILE=build forge install --no-git && FOUNDRY_PROFILE=build forge build
3529
3630# Base image for rust
3731FROM lukemathwalker/cargo-chef:latest-rust-1 AS chef
You can’t perform that action at this time.
0 commit comments