Reverted dockerfile
This commit is contained in:
parent
a2316132b1
commit
7d1ecb01b8
1 changed files with 5 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:16
|
||||
FROM node:20
|
||||
|
||||
FROM mcr.microsoft.com/playwright:v1.48.0-noble
|
||||
|
||||
|
|
@ -12,10 +12,10 @@ COPY package*.json ./
|
|||
RUN npm install
|
||||
|
||||
# Install Playwright browsers
|
||||
RUN npx playwright install --with-deps
|
||||
RUN npx playwright install chromium --with-deps
|
||||
|
||||
# Install jq
|
||||
RUN apt-get install -y jq
|
||||
|
||||
# Copy the rest of the application code
|
||||
COPY . .
|
||||
|
||||
# Run Playwright tests
|
||||
CMD ["npx", "playwright", "test"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue