Skip to content

Commit

Permalink
install deps from root in api dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Jun 4, 2024
1 parent 20e3776 commit 9ecf72b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM node:22.2.0-alpine
WORKDIR /app


COPY package.json pnpm-workspace.yaml pnpm-lock.yaml tsconfig.json ./
COPY package.json pnpm-workspace.yaml pnpm-lock.yaml tsconfig.json .npmrc ./
COPY api/package.json api/tsconfig.json ./api/
COPY shared/package.json shared/tsconfig.json ./shared/

Expand All @@ -14,7 +14,7 @@ RUN corepack enable pnpm
COPY api ./api
COPY shared ./shared

RUN pnpm run api:deps
RUN pnpm install


RUN pnpm api:build
Expand Down

0 comments on commit 9ecf72b

Please sign in to comment.