fix: vendor Prisma into release for Docker

This commit is contained in:
mahmood
2026-09-10 12:53:23 +03:30
parent 9e8d4a017d
commit f0f82d20ec
59 changed files with 58842 additions and 12 deletions
+3 -1
View File
@@ -1,10 +1,12 @@
FROM docker.arvancloud.ir/node:20-alpine
# Pre-built on the developer machine:
# pnpm --filter @gold-bank/shared-types build && pnpm --filter api build:release
# pnpm build:release
WORKDIR /app
ENV NODE_ENV=production
# Vendored Prisma lives in ./vendor (not node_modules — that path is gitignored)
ENV NODE_PATH=/app/vendor
COPY release/ ./