Last active
April 18, 2020 07:23
-
-
Save seeflanigan/5b72636d6e8881138919 to your computer and use it in GitHub Desktop.
Docker Compose file for running Clojure Koans
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
koans: | |
image: clojure | |
command: lein koan run | |
volumes: | |
- ./clojure-koans:/clojure-koans | |
working_dir: /clojure-koans | |
repl: | |
image: clojure | |
command: lein repl | |
volumes: | |
- ./clojure-koans:/clojure-koans | |
working_dir: /clojure-koans |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To use this file:
The
docker-compose run koans
command instantiates a long-running test process, which automatically re-runs tests when you edit the koan source files. It loads dependencies once, per instance. The REPL does not automatically update when source files are changed.