Skip to content

14.0.15 breaks nextjs in monorepo #349

@mehranabi

Description

@mehranabi

PR #346 breaks nextjs rollouts in a monorepo setup.

We have our next app at apps/web and the build output is apps/web/.next/standalone but in #346 the adapter only picks root .next/standalone.
The build passes successfully but the files are not copied over so the container doesn't run properly and the rollout fails.

The workaround is to add outputFiles manually in apphosting.yml:

outputFiles:
  serverApp:
    include: [.]

the config above copied all files that might make your container to run late for health check, put your real standalone output path instead of .

14.0.13 was ok

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions