generate prisma client in docker container
Some checks failed
ci / build (push) Failing after 1s
ci / Tests & Checks (push) Failing after 1s

This commit is contained in:
CJ_Clippy 2025-07-14 05:44:16 -08:00
parent dc311073a3
commit 9e4575c343

View File

@ -20,6 +20,10 @@ RUN apt-get update -y && \
COPY package.json package-lock.json ./
RUN npm install --ignore-scripts=false --foreground-scripts --verbose
# Copy Prisma schema and generate client
COPY prisma ./prisma
RUN npx prisma generate
# Copy the rest of the code
COPY . .