Closed domesticmouse closed 5 years ago
re-run pub run build_runner build
– would be good.
PTAL @kevmoo
In theory we could publish this now, although I don't know if there is any urgency.
CC @kwalrath
This change came out of a Flutter Hackathon event where I and an attendee tried to use Dart on Cloud Run to act as the server side of a Flutter app. We both burned the majority of the event trying to figure out what we were doing wrong. Please publish this ASAP to prevent developer frustration.
Thanks!
Deployed as 3.3.1!
Cloud Run has a couple of requirements of apps that it attempts to run. The first is that they bind to the port specified in the PORT environment variable, and the second is that it listens to
0.0.0.0
instead oflocalhost
. This change should make it as simple as adding a simple Dockerfile to the generated sample app to get it running on Cloud Run.