mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-27 02:32:06 -04:00
21 lines
735 B
Markdown
21 lines
735 B
Markdown
# Flutter Beta - Docker mod for code-server
|
|
|
|
This mod adds a Flutter beta dev environment to code-server, to be installed/updated during container start. The enviornment is already configured to run browser apps.
|
|
|
|
```
|
|
flutter create myapp
|
|
cd myapp
|
|
flutter run --web-port=8989
|
|
```
|
|
|
|
Open a browser pointing to:
|
|
|
|
```
|
|
https://my-code-server-host/proxy/8989
|
|
```
|
|
|
|
When edit the code, press r and refresh the web page, or install the Flutter extension for code-server.
|
|
|
|
In code-server docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:code-server-flutter`
|
|
|
|
If adding multiple mods, enter them in an array separated by `|`, such as `DOCKER_MODS=linuxserver/mods:code-server-flutter|linuxserver/mods:code-server-mod2` |