Skip to content

Commit

Permalink
Ensure pnpm workspace file is available in viewer image
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Sep 25, 2024
1 parent 3f285d8 commit 3764b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3764b42

Please sign in to comment.