Skip to content

Commit 951013b

Browse files
Added prisma to dockerfile.
1 parent 46c3345 commit 951013b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ RUN npm install -g pnpm
66
# Set working directory
77
WORKDIR /usr/src/app
88

9-
# Copy only manifest and lockfile first for better caching
10-
COPY package.json pnpm-lock.yaml ./
119

10+
# Copy only manifest, lockfile, and prisma schema for better caching
11+
COPY package.json pnpm-lock.yaml ./
12+
COPY prisma ./prisma
1213

1314
# Install all dependencies (including devDependencies for build)
1415
RUN pnpm install

0 commit comments

Comments
 (0)