fix: fuck docker fr fr
This commit is contained in:
@@ -22,6 +22,9 @@ RUN cd apps/api && npx prisma generate
|
|||||||
RUN pnpm --filter @kooltab/api run build
|
RUN pnpm --filter @kooltab/api run build
|
||||||
RUN pnpm --filter @kooltab/dashboard run build
|
RUN pnpm --filter @kooltab/dashboard run build
|
||||||
|
|
||||||
|
# Compile seed script to JS (needed for production seeding)
|
||||||
|
RUN npx tsc apps/api/prisma/seed.ts --outDir apps/api/prisma --skipLibCheck --module commonjs --esModuleInterop true --resolveJsonModule true
|
||||||
|
|
||||||
# ---- Production API image ----
|
# ---- Production API image ----
|
||||||
FROM node:20-alpine AS api
|
FROM node:20-alpine AS api
|
||||||
RUN npm install -g pnpm
|
RUN npm install -g pnpm
|
||||||
|
|||||||
Reference in New Issue
Block a user