Created
September 9, 2015 19:58
-
-
Save aaronhenshaw/a660d90804ff40c06a2c to your computer and use it in GitHub Desktop.
This file contains 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
############# | |
### PULL REPO | |
############# | |
ENV PROJECT_HOME /opt/something | |
RUN mkdir ${PROJECT_HOME} | |
RUN git clone git@github.com:XXX/something.git ${PROJECT_HOME}/app | |
############# | |
### RUN BUILD | |
############# | |
WORKDIR ${PROJECT_HOME}/app | |
RUN grails clean | |
EXPOSE 8443 | |
CMD ["grails", "prod", "run-app", "--https"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment