Skip to content

fix: Cloud Run deployment failed: pubspec_overrides.yaml #1894

@Z6P0

Description

@Z6P0

Description

Following the "Google Cloud Run" doc, the command gcloud run deploy...fails with this log:

Step 4/14 : COPY pubspec_overrides.yaml* ./
COPY failed: no source files were specified

because there is no pubspec_overrides.yaml in the project.
It works if the line in Dockerfile is removed.

Steps To Reproduce

Follow https://dart-frog.dev/deploy/google-cloud-run/

Expected Behavior

Deploy without error.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working as expectedneeds reproductive stepsThis issue lacks sufficient details and further information in neededwaiting for responseWaiting for follow up

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions