starter_flutter 1.0.0+2 copy "starter_flutter: ^1.0.0+2" to clipboard
starter_flutter: ^1.0.0+2 copied to clipboard

A docker based flutter web project.

Docker based Flutter Web Project #

This repo contains a docker based flutter web project.

to build your container for the flutter web project #

./build-docker.sh

to run your container running the flutter web project #

./run.sh

then go to localhost:8080 to visit your website.

to stop/remove the container, and run your flutter web project #

Just add 1 as parameter

./run.sh 1

then go to localhost:8080 to visit your website.

to stop/remove your container running the flutter web project #

./stop.sh

screenshot #

Screenshot


Troubleshooting #

platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) #

If you build this image on M1 Mac, and then someone uses it on Intel, they get below warning

WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64) and no specific platform was requested

Please visit this link to get guidance on how to rebuild this image on your m1 mac

https://stackoverflow.com/questions/66662820/m1-docker-preview-and-keycloak-images-platform-linux-amd64-does-not-match-th


0
likes
120
pub points
19%
popularity

Publisher

unverified uploader

A docker based flutter web project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

cupertino_icons, flutter

More

Packages that depend on starter_flutter