Also install a single browser (Chromium) through Playwright
This commit is contained in:
parent
012caab606
commit
cc1c17363b
|
@ -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 && \
|
||||||
|
|
Ŝarĝante…
Reference in New Issue