fix: build stage order

This commit is contained in:
diced
2025-08-14 12:34:21 -07:00
parent ae7b4dacf1
commit f6eefc01e2
3 changed files with 3 additions and 4 deletions

View File

@@ -4,4 +4,4 @@ node_modules
uploads*
.env
.eslintcache
generated
src/prisma

View File

@@ -32,8 +32,7 @@ COPY mimes.json ./mimes.json
COPY code.json ./code.json
COPY vite-env.d.ts ./vite-env.d.ts
ENV NEXT_TELEMETRY_DISABLED=1 \
NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1
RUN ZIPLINE_BUILD=true pnpm run build

View File

@@ -6,7 +6,7 @@
"scripts": {
"lint": "eslint .",
"build:skip": "pnpm run --stream build:prisma && pnpm run --stream build:server && pnpm run --stream build:client",
"build": "pnpm run --stream lint && pnpm run --stream build:types && pnpm run --stream build:prisma && pnpm run --stream build:server && pnpm run --stream build:client",
"build": "pnpm run --stream lint && pnpm run --stream build:prisma && pnpm run --stream build:types && pnpm run --stream build:server && pnpm run --stream build:client",
"build:types": "tsc",
"build:prisma": "prisma generate --no-hints",
"build:server": "tsup",