b7c140eef6d2062728a8e66f6270e5f67e6547f0
flutter_pwa_test
A Flutter PWA test.
Getting Started
Build with Flutter 2.8.1 from channel stable.
Run as docker container
Build the docker image
cd <directory container the Dockerfile, i.e. the root of the project>
docker build -t <image-name> .
Transfer the image to another machine
If you intent to run the container on a different machine, either upload it to a registry of your choice or save it as a tar-file and copy it as needed. If you intent to upload it to a registry, make sure you name it accordingly, e.g. docker.example.com/flutter-pwa-test:latest.
docker push <image-name>
docker save -o <file-name>.tar <image-name>
To import the tar-file on another machine:
docker load -i <file-name>.tar
Run the image
You can either run the image from the cli or using docker compose:
docker run --rm -p 5000:80 --restart unless-stopped --name flutter-pwa-test <image-name>
Assuming you are in the root of the project containing the docker-compose.yml file. Otherwise specify the file using the -f flag.
docker-compose up -d
Description
Languages
Dart
60.3%
HTML
33.7%
Dockerfile
6%