Created
September 9, 2015 19:58
-
-
Save aaronhenshaw/a660d90804ff40c06a2c to your computer and use it in GitHub Desktop.
Revisions
-
aaronhenshaw created this gist
Sep 9, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ ############# ### PULL REPO ############# ENV PROJECT_HOME /opt/something RUN mkdir ${PROJECT_HOME} RUN git clone [email protected]:XXX/something.git ${PROJECT_HOME}/app ############# ### RUN BUILD ############# WORKDIR ${PROJECT_HOME}/app RUN grails clean EXPOSE 8443 CMD ["grails", "prod", "run-app", "--https"]