Also install a single browser (Chromium) through Playwright

This commit is contained in:
Trenton Holmes 2024-08-14 19:48:16 -07:00
parent 012caab606
commit cc1c17363b

View File

@ -28,12 +28,10 @@ RUN --mount=type=cache,sharing=locked,target=/usr/local/share/.cache/yarn \
COPY --from=monolith-builder /usr/local/cargo/bin/monolith /usr/local/bin/monolith COPY --from=monolith-builder /usr/local/cargo/bin/monolith /usr/local/bin/monolith
RUN set -eux && \ RUN set -eux && \
npx playwright install-deps && \ npx playwright install --with-deps chromium && \
apt-get clean && \ apt-get clean && \
yarn cache clean yarn cache clean
RUN yarn playwright install
COPY . . COPY . .
RUN yarn prisma generate && \ RUN yarn prisma generate && \