Add Playwright Dockerfile
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
|||||||
|
FROM mcr.microsoft.com/playwright:v1.49.1-jammy
|
||||||
|
|
||||||
|
WORKDIR /tests
|
||||||
|
|
||||||
|
COPY package*.json ./
|
||||||
|
RUN npm ci
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN mkdir -p results
|
||||||
|
|
||||||
|
CMD ["bash", "-lc", "node run-api-checks.js && npx playwright test"]
|
||||||
Reference in New Issue
Block a user