mirror of
https://github.com/tornadocash/trusted-setup-server.git
synced 2024-11-23 10:27:22 +01:00
fix docker file
This commit is contained in:
parent
4e7bd0e271
commit
13c0466235
@ -1,4 +1,4 @@
|
|||||||
FROM tornadocash/phase2-bn254:stable as bin
|
FROM tornadocash/phase2-bn254:phase2 as bin
|
||||||
|
|
||||||
FROM node:12-buster
|
FROM node:12-buster
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@ -7,7 +7,9 @@ COPY package.json yarn.lock ./
|
|||||||
RUN yarn install && yarn cache clean --force
|
RUN yarn install && yarn cache clean --force
|
||||||
COPY . .
|
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
|
EXPOSE 3000
|
||||||
HEALTHCHECK CMD curl -f http://localhost:3000/
|
HEALTHCHECK CMD curl -f http://localhost:3000/
|
||||||
|
Loading…
Reference in New Issue
Block a user