mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-01-10 06:46:08 +00:00
a2235a0d55
Copy of `multidim-interop/impl/js/v0.42` plus version adjustments + reenable WebRTC (see https://github.com/libp2p/test-plans/pull/160).
22 lines
508 B
Docker
22 lines
508 B
Docker
# syntax=docker/dockerfile:1
|
|
# Using playwright so that we have the same base across NodeJS + Browser tests
|
|
FROM mcr.microsoft.com/playwright
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package*.json ./
|
|
|
|
RUN npm ci
|
|
|
|
# Install browsers, Needed for the browser tests, but we do it here so we have the same base
|
|
RUN ./node_modules/.bin/playwright install
|
|
|
|
COPY tsconfig.json .
|
|
COPY .aegir.js .
|
|
COPY test ./test
|
|
COPY src ./src
|
|
|
|
RUN npm run build
|
|
|
|
ENTRYPOINT [ "npm", "test", "--", "--build", "false", "--types", "false", "-t", "node" ]
|