dockerfile fix

This commit is contained in:
Alexey 2020-02-05 19:07:20 +03:00
parent fbc150b61f
commit 8443eab788

View File

@ -1,13 +1,13 @@
FROM tornadocash/phase2-bn254 as bin FROM tornadocash/phase2-bn254 as bin
FROM node:11 FROM node:12-buster
WORKDIR /app WORKDIR /app
COPY package.json yarn.lock ./ 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/bin/ COPY --from=bin /usr/bin/phase2_verify_contribution /app/server/bin/
EXPOSE 3000 EXPOSE 3000
HEALTHCHECK CMD curl -f http://localhost:3000/ HEALTHCHECK CMD curl -f http://localhost:3000/