From 33f846e395d1ac705b53784bb066e83461aa29a7 Mon Sep 17 00:00:00 2001 From: Adithya Sreyaj Date: Sun, 14 Apr 2024 11:22:37 +0530 Subject: [PATCH] chore: update nixpacks --- nixpacks.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixpacks.toml b/nixpacks.toml index d4e54ee..04c99cd 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -10,12 +10,12 @@ NIXPACKS_NX_APP_NAME = 'api' [phases.build] dependsOn = ['install'] -cmds = ['npm install --legacy-peer-deps', 'npm run postinstall', 'npm run prisma:migrate:prod'] +cmds = ['npm run build api'] cacheDirectories = ['node_modules/.cache'] [phases.install] dependsOn = ['setup'] -cmds = ['npm ci'] +cmds = ['npm install --legacy-peer-deps', 'npm run postinstall', 'npm run prisma:migrate:prod'] cacheDirectories = [ '/root/.cache/Cypress', '/root/.npm',