fix: vendor Prisma into release for Docker
This commit is contained in:
+3
-1
@@ -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/ ./
|
||||
|
||||
|
||||
Reference in New Issue
Block a user