Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit b3a931f

Browse files
committed
chore(docker): update Dockerfile to include Prisma files and generate client
1 parent 28144c3 commit b3a931f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ RUN apk add --no-cache openssl
77
RUN npm install -g pnpm
88

99
COPY package.json pnpm-lock.yaml ./
10+
COPY prisma ./prisma/
11+
1012
RUN pnpm install --frozen-lockfile
1113

1214
COPY . .
1315

14-
RUN npx prisma migrate dev --name oxbot
16+
RUN npx prisma generate
1517

16-
CMD [ "pnpm", "start:production" ]
18+
CMD [ "pnpm", "start:production" ]

0 commit comments

Comments
 (0)