Skip to content

Commit

Permalink
chore: update web nixpacks
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjoeoui committed Apr 29, 2024
1 parent 04b45f3 commit 14301f1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions apps/web/nixpacks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
cmds = ['bun install']

[phases.build]
cmds = ['cd apps/web && bun run build']
cmd = ''
# cmds = ['cd apps/web && bun run build']
# NOTE: skip build here because the build also bundles all the `VITE_` env vars
# but those are specific to the deployment environment, so we want to skip that
# and let the deployment environment handle it

[start]
cmd = 'cd apps/web && bun start'
cmd = 'cd apps/web && bun run build && bun start'

0 comments on commit 14301f1

Please sign in to comment.