2023-08-09 20:04:43 -07:00
|
|
|
# Here because we want to fetch the node_modules within docker so that it's
|
|
|
|
# installed on the same platform the test is run. Otherwise tools like `esbuild` will fail to run
|
2023-09-07 11:03:09 -05:00
|
|
|
FROM node:18.17.1
|
2023-08-09 20:04:43 -07:00
|
|
|
WORKDIR /app
|
2023-09-07 11:03:09 -05:00
|
|
|
RUN apt-get update && apt-get install -y cmake
|
|
|
|
COPY package*.json ./
|
|
|
|
RUN npm ci
|
2023-08-09 20:04:43 -07:00
|
|
|
|
2023-09-07 11:03:09 -05:00
|
|
|
WORKDIR /app/node_modules/@libp2p/multidim-interop
|
2023-08-09 20:04:43 -07:00
|
|
|
|
|
|
|
ENTRYPOINT [ "npm", "run", "test:interop:multidim", "--", "--build", "false", "--types", "false", "-t", "node" ]
|