trusted-setup-server/Dockerfile

15 lines
309 B
Docker
Raw Normal View History

2020-01-31 18:03:09 +01:00
FROM tornadocash/phase2-bn254 as bin
2020-02-05 17:07:20 +01:00
FROM node:12-buster
2020-01-30 13:29:30 +01:00
WORKDIR /app
2020-01-31 18:03:09 +01:00
COPY package.json yarn.lock ./
RUN yarn install && yarn cache clean --force
2020-01-30 13:29:30 +01:00
COPY . .
2020-02-05 17:07:20 +01:00
COPY --from=bin /usr/bin/phase2_verify_contribution /app/server/bin/
2020-01-31 18:03:09 +01:00
2020-01-30 13:29:30 +01:00
EXPOSE 3000
HEALTHCHECK CMD curl -f http://localhost:3000/
2020-01-31 18:03:09 +01:00
CMD ["yarn", "start"]