feat: README

This commit is contained in:
ange 2025-01-27 04:50:29 +00:00
parent 84b527a60a
commit 7cb18de6d7
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

14
README.md Normal file
View File

@ -0,0 +1,14 @@
# docker-flutter
## Examples
- Run
```bash
docker volume create --ignore fluttercache
docker run --rm --network host -v "$PWD:/app/" -v "fluttercache:/home/gradle/.gradle/" git.gmoker.com/icing/flutter:main run
```
- Build
```bash
docker volume create --ignore fluttercache
docker run --rm -v "$PWD:/app/" -v "fluttercache:/home/gradle/.gradle/" git.gmoker.com/icing/flutter:main build apk
```
The apk files will be found in `./build/app/outputs/flutter-apk/`.