diff options
| author | Fuwn <[email protected]> | 2021-05-06 21:34:05 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-06 21:34:05 -0700 |
| commit | 005b5196ee00e3e7ab5d6820f1da016ee7d2aa01 (patch) | |
| tree | 773cb24140155a75b535a40aafcdaf61aad4c6c6 | |
| parent | fix(config): typo (diff) | |
| download | whirl-005b5196ee00e3e7ab5d6820f1da016ee7d2aa01.tar.xz whirl-005b5196ee00e3e7ab5d6820f1da016ee7d2aa01.zip | |
build(make): create interactive mode docker run task
Allows one to access the Whirl prompt while running within a Docker container.
| -rw-r--r-- | Makefile.toml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.toml b/Makefile.toml index 046475b..d59bf4f 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -84,6 +84,18 @@ args = [ "whirlsplash/whirl" ] +[tasks.docker-run-i] +command = "docker" +args = [ + "run", + "-it", + "--name", "Whirlsplash", + # API Distributor Hub + "-p", "8000:8000", "-p", "6650:6650", "-p", "5673:5673", + "--env", "DISABLE_PROMPT=false", + "whirlsplash/whirl" +] + # Build 'n' load [tasks.bnl] dependencies = ["docker-build", "docker-load"] |