Skip to content

Commit

Permalink
feat(client): cached yarn install
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin Guidée <[email protected]>
  • Loading branch information
quentinguidee committed Mar 10, 2024
1 parent 3ef8cd5 commit 898610f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion client/docker/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ FROM node:alpine3.19

WORKDIR /app

COPY . .
COPY package.json yarn.lock tsconfig.base.json ./

# Because of the workspace, we need to copy all package.json files to keep the same lockfile.
COPY client/package.json ./client/
COPY docs/package.json ./docs/
COPY packages/components/package.json ./packages/components/

RUN corepack enable
RUN yarn install --frozen-lockfile
Expand Down

0 comments on commit 898610f

Please sign in to comment.