trusted-setup-server/Dockerfile
2020-01-31 20:03:09 +03:00

16 lines
310 B
Docker

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