From cd96861740ed07bc3033710f124aea37d5f5037a Mon Sep 17 00:00:00 2001 From: Vaibhav Sagar Date: Sun, 26 Nov 2017 19:33:23 +0800 Subject: [PATCH] README.md: add instructions for using Docker --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 2d59b1ae..49ec7cfe 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,20 @@ _Tested on macOS Sierra (10.12.6)_ stack exec jupyter -- notebook ``` +## Docker + +If you prefer a Docker-based workflow, you can use it to create an IHaskell +notebook environment. For example: + +```bash +$ docker build -t ihaskell:latest . +$ docker run -it -p8888:8888 ihaskell:latest +``` + +Currently the component that takes the longest time to compile is +`ihaskell-widgets`, so if you're in a hurry you may want to comment that out in +`stack.yaml`. + ## Nix If you have the `nix` package manager installed, you can create an IHaskell