From 3764b42b3f1fe78d6321af894390da98ffda2dac Mon Sep 17 00:00:00 2001 From: Tim Haasdyk Date: Wed, 25 Sep 2024 14:46:12 +0200 Subject: [PATCH] Ensure pnpm workspace file is available in viewer image --- frontend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index d84385730..20fc0c4c3 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -2,6 +2,7 @@ # TODO: can't use vanilla alpine version since python is needed for gql-codegen stuff. FROM node:20 AS builder-base WORKDIR /app +COPY . /app/ RUN corepack enable FROM builder-base AS builder-viewer @@ -17,7 +18,6 @@ FROM builder-base AS builder COPY package.json pnpm-lock.yaml /app/ RUN --mount=type=cache,target=/root/.local/share/pnpm/store pnpm install -COPY . /app/ COPY src /app/src COPY static /app/static COPY --from=builder-viewer /app/viewer/dist-web-component /app/viewer/dist-web-component