Skip to content

Commit

Permalink
patch cef-ebsi package
Browse files Browse the repository at this point in the history
  • Loading branch information
patatoid committed Mar 8, 2024
1 parent 125adcd commit 62c95f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ WORKDIR /usr/src/app
COPY . .
RUN rm -rf node_modules/
RUN npm install

RUN sed -i -e 's|"./dist/index.js"|{"require": "./dist/cjs/index.js", "import": "./dist/esm/index.js"}|g' node_modules/@cef-ebsi/key-did-resolver/package.json

RUN find ./ -name "*.js" -type f -exec sed -i -e "s/'did:key:zUC7': bls12381,/'did:key:zUC7': bls12381,'did:key:z3tE': bls12381,/g" {} \;
RUN find ./ -name "*.ts" -type f -exec sed -i -e "s/'did:key:zUC7': typeof bls12381;/'did:key:zUC7': typeof bls12381;'did:key:z3tE': typeof bls12381;/g" {} \;

Expand Down

0 comments on commit 62c95f0

Please sign in to comment.