dockerize_sidekick_plugin 0.1.0 copy "dockerize_sidekick_plugin: ^0.1.0" to clipboard
dockerize_sidekick_plugin: ^0.1.0 copied to clipboard

Lets you easily generate a Docker Container for your Flutter Web App.

dockerize_sidekick_plugin sidekick plugin #

A plugin for sidekick CLIs.

Description #

This plugin for sidekick wants to make it as easy as possible to deploy your flutter web app as a docker container.

Installation #

Kickstart #

with having docker and sidekick installed

<<your_cli>> sidekick plugins install dockerize_sidekick_plugin
<<your_cli>> docker run -b

Docker #

To run this locally you need Docker installed on your machine.

The commands #

Install the plugin

<<your_cli>> sidekick plugins install dockerize_sidekick_plugin

Build the docker image

<<your_cli>> docker build

You can customize the build process in the commands/docker/build_command.dart file.

Run the docker image locally

<<your_cli>> docker run

This will run your app and makes it accessible at localhost:8080. With the -b, --build flag you can execute the build command before running the container. With the -p, --port flag you can specify the port on which the app is accessible.

Stop the container

<<your_cli>> docker stop

Help #

If you need help, you can always use the help command.

<<your_cli>> docker --help

Issues and Feedback #

Feel free to open an issue or send a pull request.

License #

Copyright 2022 Justin Baumann, Robin Schönau

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
8
likes
0
pub points
58%
popularity

Publisher

verified publisherjxstxn.dev

Lets you easily generate a Docker Container for your Flutter Web App.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

dcli, sidekick_core

More

Packages that depend on dockerize_sidekick_plugin