tornado-root-updater/Dockerfile

20 lines
520 B
Docker
Raw Permalink Normal View History

2021-03-03 14:10:00 +01:00
FROM node:14
2020-12-15 16:09:41 +01:00
WORKDIR /app
2021-03-03 14:10:00 +01:00
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN cargo install zkutil
COPY --from=tornadocash/tornado-trees \
/app/artifacts/circuits/BatchTreeUpdate.params \
/app/artifacts/circuits/BatchTreeUpdate \
/app/artifacts/circuits/BatchTreeUpdate.dat \
/app/artifacts/circuits/BatchTreeUpdate.r1cs \
./snarks/
2020-12-15 16:09:41 +01:00
COPY package.json yarn.lock ./
2020-12-15 19:32:16 +01:00
RUN yarn && yarn cache clean --force
2020-12-15 16:09:41 +01:00
COPY . .
CMD ["yarn", "start"]