Skip to content

Commit

Permalink
perf(cdp): add playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed May 12, 2023
1 parent 0e12eae commit 19c8429
Show file tree
Hide file tree
Showing 17 changed files with 185 additions and 612 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ COPY . .

RUN cargo install --no-default-features --path .

FROM node:20.0-alpine3.17 AS BUILD_IMAGE
FROM node:20.1-alpine3.17 AS BUILD_IMAGE

ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true"
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD="true"

WORKDIR /usr/src/app

Expand All @@ -27,7 +27,7 @@ RUN rm -R ./node_modules
RUN npm install --production

# final image
FROM node:20.0-alpine3.17
FROM node:20.1-alpine3.17

RUN apk upgrade --update-cache --available && \
apk add openssl
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ COPY . .

RUN cargo install --no-default-features --path .

FROM node:20.0-alpine3.17
FROM node:20.1-alpine3.17

ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true" \
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD="true" \
NODE_ENV="development" \
GRPC_HOST_MAV="mav:50053"

Expand Down
Loading

0 comments on commit 19c8429

Please sign in to comment.