From 77b1c5b53675e26cc4125c27bc24ea45f4f7ed0e Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Mon, 22 Aug 2022 12:17:41 +0200 Subject: [PATCH] update Dockerfile --- client/Dockerfile | 1 + server/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/Dockerfile b/client/Dockerfile index c75fe8f9..bb2bec28 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -1,6 +1,7 @@ FROM node:lts-alpine AS base WORKDIR /app + RUN apk add --no-cache g++ git curl make python3 \ && curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm diff --git a/server/Dockerfile b/server/Dockerfile index e4ba12ff..c3469a53 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -34,7 +34,7 @@ RUN apt-get update \ COPY --from=builder /app/package.json /app/pnpm-*.yaml /app/turbo.json ./ COPY --from=builder /app/server/package.json ./server/package.json -RUN npx playwright install --with-deps chromium +RUN pnpm dlx playwright install --with-deps chromium RUN pnpm install --filter server --prod --frozen-lockfile --workspace-root COPY --from=builder /app/server/dist ./server/dist