This commit is contained in:
Andras Bacsai 2022-10-04 23:06:46 +02:00
parent 6cd1c5de38
commit a901388887
3 changed files with 1 additions and 4 deletions

1
.npmrc
View File

@ -1 +0,0 @@
enable-pre-post-scripts=true

View File

@ -38,7 +38,6 @@ COPY --from=build /app/apps/ui/build/ ./public
COPY --from=build /app/apps/api/prisma/ ./prisma
COPY --from=build /app/apps/api/package.json .
COPY --from=build /app/docker-compose.yaml .
COPY --from=build /app/.npmrc .
RUN pnpm install -p

View File

@ -11,8 +11,7 @@
"build": "rimraf build && esbuild `find src \\( -name '*.ts' \\)| grep -v client/` --minify=true --platform=node --outdir=build --format=cjs",
"format": "prettier --write 'src/**/*.{js,ts,json,md}'",
"lint": "prettier --check 'src/**/*.{js,ts,json,md}' && eslint --ignore-path .eslintignore .",
"prestart": "npx -y prisma migrate deploy && npx prisma generate && npx prisma db seed",
"start": "NODE_ENV=production node index.js"
"start": "NODE_ENV=production npx -y prisma migrate deploy && npx prisma generate && npx prisma db seed && node index.js"
},
"dependencies": {
"@breejs/ts-worker": "2.0.0",