Skip to content

Commit

Permalink
DTSPB-2849 - Change Docker File to install playwright at runtime and …
Browse files Browse the repository at this point in the history
…Skip browser download during yarn install
  • Loading branch information
MarianIrudayanathan committed Feb 6, 2024
1 parent 54d4cb6 commit b1770ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ USER root
RUN apk add git
USER hmcts

RUN PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true yarn install
RUN PLAYWRIGHT_SKIP_CHROMIUM_DOWNLOAD=true && PLAYWRIGHT_BROWSERS_PATH=false yarn install
RUN yarn playwright install
RUN yarn -v
RUN node -v
RUN yarn setup-sass
Expand Down

0 comments on commit b1770ff

Please sign in to comment.