mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-01-21 04:10:19 +00:00
12 lines
375 B
Docker
12 lines
375 B
Docker
# 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
|
|
FROM node:18
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN npm i && npm run build
|
|
|
|
WORKDIR /app/interop
|
|
RUN npm i && npm run build
|
|
|
|
ENTRYPOINT [ "npm", "test", "--", "--build", "false", "--types", "false", "-t", "node" ]
|