Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3626ea613c | |||
| aaebdc5da7 | |||
| 748f181bc2 | |||
| d7705b585e |
+8
-6
@@ -1,5 +1,4 @@
|
||||
# playwright doesnt support debian image
|
||||
FROM node:20-bullseye-slim
|
||||
FROM node:18.18-bullseye-slim
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
@@ -9,10 +8,13 @@ WORKDIR /data
|
||||
|
||||
COPY ./package.json ./yarn.lock ./playwright.config.ts ./
|
||||
|
||||
RUN yarn && \
|
||||
npx playwright install-deps && \
|
||||
apt-get clean && \
|
||||
yarn cache clean
|
||||
RUN yarn
|
||||
|
||||
RUN npx playwright install-deps
|
||||
|
||||
RUN apt-get clean
|
||||
|
||||
RUN yarn cache clean
|
||||
|
||||
COPY . .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user