Commands / kosa8 up
kosa8 up
Detect, build and run a project — no Dockerfile required
Usage
kosa8 up [PATH]
kosa8 up inspects a directory, writes a Dockerfile if there isn't one, builds the image and runs it with its port published.
The generated Dockerfile is left in place: read it, edit it, commit it. An existing Dockerfile is always used as-is and never overwritten.
Options
| Flag | Type | What it does | Default |
|---|---|---|---|
-d, --detach | bool | run in the background | — |
--plan | bool | print the Dockerfile that would be used and stop | — |
-p, --port | int | host port to publish (default: detected) | 0 |
-t, --tag | string | image name (default: directory name) | — |