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