Skip to content

Commit

Permalink
Update Dockerfile.client
Browse files Browse the repository at this point in the history
  • Loading branch information
coodos authored Feb 13, 2025
1 parent 9c079af commit b1c29ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/dev/Dockerfile.client
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ RUN corepack enable
FROM base AS build
COPY . /usr/src/app
WORKDIR /usr/src/app
npm i -g corepack@latest
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile

FROM base AS client
npm i -g corepack@latest
COPY --from=build /usr/src/app /usr/src/app
WORKDIR /usr/src/app
EXPOSE 5173
CMD [ "pnpm", "dev:client" ]
CMD [ "pnpm", "dev:client" ]

0 comments on commit b1c29ab

Please sign in to comment.