Skip to content

Commit 1ed0789

Browse files
author
Your Name
committed
fix(backend): install dev dependencies in Dockerfile
- Added pnpm install --dev to install @types/jest and @types/node - Ensures TypeScript compilation has required type definitions
1 parent d370f5d commit 1ed0789

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ COPY package*.json ./
1212
# Install dependencies with pnpm
1313
RUN pnpm install
1414

15-
# Install @prisma/client, dotenv, and @prisma/config explicitly
16-
RUN pnpm add @prisma/client dotenv @prisma/config
15+
# Install @prisma/client, dotenv, @prisma/config, and dev dependencies
16+
RUN pnpm add @prisma/client dotenv @prisma/config && pnpm install --dev
1717

1818
# Copy all files including prisma directory
1919
COPY . .

0 commit comments

Comments
 (0)