mirror of
https://github.com/diced/zipline.git
synced 2025-12-05 20:40:12 -08:00
fix: build stage order
This commit is contained in:
@@ -4,4 +4,4 @@ node_modules
|
|||||||
uploads*
|
uploads*
|
||||||
.env
|
.env
|
||||||
.eslintcache
|
.eslintcache
|
||||||
generated
|
src/prisma
|
||||||
|
|||||||
@@ -32,8 +32,7 @@ COPY mimes.json ./mimes.json
|
|||||||
COPY code.json ./code.json
|
COPY code.json ./code.json
|
||||||
COPY vite-env.d.ts ./vite-env.d.ts
|
COPY vite-env.d.ts ./vite-env.d.ts
|
||||||
|
|
||||||
ENV NEXT_TELEMETRY_DISABLED=1 \
|
ENV NEXT_TELEMETRY_DISABLED=1
|
||||||
NODE_ENV=production
|
|
||||||
|
|
||||||
RUN ZIPLINE_BUILD=true pnpm run build
|
RUN ZIPLINE_BUILD=true pnpm run build
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"build:skip": "pnpm run --stream build:prisma && pnpm run --stream build:server && pnpm run --stream build:client",
|
"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:types": "tsc",
|
||||||
"build:prisma": "prisma generate --no-hints",
|
"build:prisma": "prisma generate --no-hints",
|
||||||
"build:server": "tsup",
|
"build:server": "tsup",
|
||||||
|
|||||||
Reference in New Issue
Block a user