Skip to content

Commit 8aaf750

Browse files
committed
Docker
1 parent 13b27b0 commit 8aaf750

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN corepack enable
3636
ENV NODE_ENV production
3737
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store pnpm install --prod --no-frozen-lockfile
3838
COPY --from=pruner --chown=node:node /triggerdotdev/internal-packages/database/prisma/schema.prisma /triggerdotdev/internal-packages/database/prisma/schema.prisma
39-
# RUN pnpm add @prisma/client@5.1.1 -w
39+
# RUN pnpm add @prisma/client@6.14.0 -w
4040
ENV NPM_CONFIG_IGNORE_WORKSPACE_ROOT_CHECK true
4141
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store pnpx prisma@6.14.0 generate --schema /triggerdotdev/internal-packages/database/prisma/schema.prisma
4242

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
# Ensure the .env symlink is not removed by accident
3+
!.env
4+
5+
generated/prisma

0 commit comments

Comments
 (0)