Skip to content

Commit

Permalink
chore: update nixpacks
Browse files Browse the repository at this point in the history
  • Loading branch information
adisreyaj committed Apr 14, 2024
1 parent 735401f commit 33f846e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixpacks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 33f846e

Please sign in to comment.