diff --git a/.dockerignore b/.dockerignore index 295152d0..39102c4a 100755 --- a/.dockerignore +++ b/.dockerignore @@ -4,4 +4,4 @@ node_modules uploads* .env .eslintcache -generated \ No newline at end of file +src/prisma diff --git a/Dockerfile b/Dockerfile index 6b4f5f54..f38836c9 100755 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/package.json b/package.json index f0182a5f..10de9080 100755 --- a/package.json +++ b/package.json @@ -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",