forked from w3c/did-test-suite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
26 lines (18 loc) · 1009 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM node:14
WORKDIR /usr/src/app
COPY ./packages/did-core-test-server/run.js ./packages/did-core-test-server/run.js
COPY ./packages/did-core-test-server/app.js ./packages/did-core-test-server/app.js
COPY ./packages/did-core-test-server/__fixtures__ ./packages/did-core-test-server/__fixtures__
COPY ./packages/did-core-test-server/services ./packages/did-core-test-server/services
COPY ./packages/did-core-test-server/routes ./packages/did-core-test-server/routes
COPY ./packages/did-core-test-server/suites ./packages/did-core-test-server/suites
COPY ./packages/did-core-test-server/package.json ./packages/did-core-test-server/package.json
COPY ./packages/jest-did-matcher/src ./packages/jest-did-matcher/src
COPY ./packages/jest-did-matcher/package.json ./packages/jest-did-matcher/package.json
COPY ./package.json ./package.json
COPY ./lerna.json ./lerna.json
RUN npm install -g lerna
RUN lerna bootstrap
RUN lerna run build
EXPOSE 8080
CMD [ "node", "./packages/did-core-test-server/run.js" ]