Fork me on GitHub
#docker
<
2016-05-07
>
tom20:05:55

I've been playing with the clojure docker image and trying to run the lein app template. Just hello world or whatever. And set up my folders like this

/Dockerfile
/docker-compose.yml
/hello/project.clj
/hello/src/hello/core.clj
Or whatever. Then do lein run command in docker-compose. And it says that no :main has been defined. Like it doesn't see the project.clj.

tom20:05:43

So I figured it was cause I threw it in a subdirectory. So I just moved it down into the base directory with Dockerfile and such. Didn't work either.

tom20:05:41

Is there an example out there showing docker with the clojure image working?