From 42d9aee674bc3ca6ca5bd1adc0ff685c0a6070f9 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 6 May 2021 21:34:05 +0000 Subject: build(make): create interactive mode docker run task Allows one to access the Whirl prompt while running within a Docker container. --- Makefile.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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"] -- cgit v1.2.3