diff --git a/yarn-project/Dockerfile b/yarn-project/Dockerfile index 1794668b6e0..57e3ba2bca3 100644 --- a/yarn-project/Dockerfile +++ b/yarn-project/Dockerfile @@ -26,6 +26,12 @@ WORKDIR /usr/src/yarn-project/circuits.js/resources RUN ./download_ignition.sh 0 28 3200027 RUN ./download_ignition.sh 0 322560092 322560219 true +# Ensure wasm symlink is removed +RUN rm /usr/src/yarn-project/circuits.js/resources/aztec3-circuits.wasm + +# Copy real wasm into yarn-project +RUN cp /usr/src/circuits/cpp/build-wasm/bin/aztec3-circuits.wasm /usr/src/yarn-project/circuits.js/resources/aztec3-circuits.wasm + WORKDIR /usr/src/yarn-project ENTRYPOINT ["yarn"] \ No newline at end of file