aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-06 21:34:05 +0000
committerFuwn <[email protected]>2021-05-06 21:34:05 +0000
commit42d9aee674bc3ca6ca5bd1adc0ff685c0a6070f9 (patch)
tree24ec1b276c049e3c8f88d5640216d7a3f16fc84f
parentfix(config): typo (diff)
downloadwhirl-42d9aee674bc3ca6ca5bd1adc0ff685c0a6070f9.tar.xz
whirl-42d9aee674bc3ca6ca5bd1adc0ff685c0a6070f9.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.toml12
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"]