Skip to content

Commit

Permalink
build(docker): avoid consecutive RUN instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
amimart committed Sep 6, 2023
1 parent 39ab441 commit a29f599
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ RUN yarn --frozen-lockfile

COPY . .

RUN yarn codegen
RUN yarn build
RUN yarn codegen && yarn build

FROM onfinality/subql-node-cosmos:v2.8.0

Expand Down

0 comments on commit a29f599

Please sign in to comment.