Add link to `lein` upstream and update `CMD` to use JSON syntax
This commit is contained in:
parent
665526c3b1
commit
e0f4daf0a3
|
|
@ -8,12 +8,12 @@ Clojure is a dialect of the Lisp programming language created by Rich Hickey. Cl
|
||||||
|
|
||||||
## Start a Lein/Clojure instance running in your app.
|
## Start a Lein/Clojure instance running in your app.
|
||||||
|
|
||||||
As the most common way to use Clojure is in conjunction with lein, the Clojure image assumes you are doing so. The most straight-forward way of using this image is adding a Dockerfile to an already existing Lein/Clojure project.
|
As the most common way to use Clojure is in conjunction with [lein](http://leiningen.org/), the Clojure image assumes you are doing so. The most straight-forward way of using this image is adding a Dockerfile to an already existing Lein/Clojure project.
|
||||||
|
|
||||||
FROM clojure
|
FROM clojure
|
||||||
COPY . /usr/src/app
|
COPY . /usr/src/app
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
CMD lein run
|
CMD ["lein", "run"]
|
||||||
|
|
||||||
Then run the commands to build and run the image.
|
Then run the commands to build and run the image.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,12 +8,12 @@ Clojure is a dialect of the Lisp programming language created by Rich Hickey. Cl
|
||||||
|
|
||||||
## Start a Lein/Clojure instance running in your app.
|
## Start a Lein/Clojure instance running in your app.
|
||||||
|
|
||||||
As the most common way to use Clojure is in conjunction with lein, the Clojure image assumes you are doing so. The most straight-forward way of using this image is adding a Dockerfile to an already existing Lein/Clojure project.
|
As the most common way to use Clojure is in conjunction with [lein](http://leiningen.org/), the Clojure image assumes you are doing so. The most straight-forward way of using this image is adding a Dockerfile to an already existing Lein/Clojure project.
|
||||||
|
|
||||||
FROM clojure
|
FROM clojure
|
||||||
COPY . /usr/src/app
|
COPY . /usr/src/app
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
CMD lein run
|
CMD ["lein", "run"]
|
||||||
|
|
||||||
Then run the commands to build and run the image.
|
Then run the commands to build and run the image.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue