Created
December 21, 2014 23:31
-
-
Save Velrok/e9fb18442b0a91a3fafa to your computer and use it in GitHub Desktop.
Example Dockerfile for a clojure app.
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
FROM java:7 | |
MAINTAINER Velrok | |
RUN mkdir -p /opt/mb | |
ADD ./target/mb.jar /opt/mb/mb.jar | |
ADD ./VERSION /opt/mb/VERSION | |
ADD ./public /opt/mb/public | |
WORKDIR /opt/mb | |
EXPOSE 3000 | |
ENV APP_ENV production | |
ENTRYPOINT java -jar mb.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment