File size: 591 Bytes
af1bee9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | # Optional container for the MOCK suite. Not built/tested on the authoring box (no docker there).
# Build from the repo root: docker build -f automation/Dockerfile -t p2p-mock-e2e .
# Run: docker run --rm -v "$PWD/automation/results:/repo/automation/results" p2p-mock-e2e
FROM mcr.microsoft.com/playwright:v1.64.0-noble
WORKDIR /repo
COPY tests ./tests
COPY mock-app ./mock-app
COPY automation ./automation
RUN npm --prefix mock-app ci --omit=dev && npm --prefix automation ci
WORKDIR /repo/automation
ENV PLAYWRIGHT_MODE=live RUN_TIERS=P1,P2 CI=1
CMD ["npm", "test"]
|