mirror of
https://github.com/Unirep/Unirep-Social.git
synced 2026-01-09 14:07:59 -05:00
* feat: bum version v2.0.0-beta-4 * fix: lint, test files * build: fix dependencies, update webpack build * fix: fix signup api * fix(backend): add chainId * chore: update dockerfile, update CI config
20 lines
312 B
Docker
20 lines
312 B
Docker
FROM node:16-buster
|
|
|
|
COPY . /src
|
|
|
|
WORKDIR /src
|
|
|
|
RUN rm -rf packages/frontend && yarn && yarn build
|
|
|
|
RUN rm -rf /src/node_modules/@unirep/circuits/zksnarkBuild
|
|
RUN rm -rf /src/node_modules/@unirep/circuits/*.ptau
|
|
|
|
FROM node:16-buster
|
|
|
|
COPY --from=0 /src /src
|
|
WORKDIR /src/packages/backend
|
|
|
|
CMD ["npm", "start"]
|
|
|
|
|