mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-01-16 18:04:59 +00:00
22 lines
358 B
Plaintext
22 lines
358 B
Plaintext
|
# syntax=docker/dockerfile:1
|
||
|
|
||
|
FROM mcr.microsoft.com/playwright
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
|
||
|
COPY package*.json .
|
||
|
|
||
|
RUN npm ci
|
||
|
|
||
|
# Install browsers
|
||
|
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", "browser" ]
|