From 13c0466235a164835f4c2e6a9c60bb457c1a949c Mon Sep 17 00:00:00 2001 From: Alexey Date: Thu, 30 Apr 2020 10:02:10 +0300 Subject: [PATCH] fix docker file --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 69e3c91..a185d7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM tornadocash/phase2-bn254:stable as bin +FROM tornadocash/phase2-bn254:phase2 as bin FROM node:12-buster WORKDIR /app @@ -7,7 +7,9 @@ COPY package.json yarn.lock ./ RUN yarn install && yarn cache clean --force COPY . . -COPY --from=bin /usr/bin/phase2_verify_contribution /app/server/bin/ +COPY --from=bin /usr/bin/verify_contribution /app/server/bin/ +COPY --from=bin /wasm/* /app/lib/phase2/ +COPY --from=bin /wasm/phase2_bg.wasm /app/static/_nuxt/lib/phase2/ EXPOSE 3000 HEALTHCHECK CMD curl -f http://localhost:3000/