trusted-setup-server/Dockerfile
2020-04-13 19:45:02 +03:00

15 lines
316 B
Docker

FROM tornadocash/phase2-bn254:stable as bin
FROM node:12-buster
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install && yarn cache clean --force
COPY . .
COPY --from=bin /usr/bin/phase2_verify_contribution /app/server/bin/
EXPOSE 3000
HEALTHCHECK CMD curl -f http://localhost:3000/
CMD ["yarn", "start"]