Created
December 5, 2014 20:00
-
-
Save micha/313cd75e64e88a3a0a59 to your computer and use it in GitHub Desktop.
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 ubuntu:12.04 | |
| RUN apt-get update && apt-get install -y -f --no-install-recommends openjdk-7-jdk wget | |
| RUN update-alternatives --config java | |
| RUN wget -O /usr/bin/boot \ | |
| https://github.com/tailrecursion/boot/releases/download/v2-r1/boot.sh \ | |
| && chmod +x /usr/bin/boot | |
| ENV BOOT_LOCAL_REPO /m2 | |
| RUN mkdir /m2 | |
| ENV BOOT_CHANNEL DEV | |
| RUN boot -u | |
| # app | |
| RUN mkdir /app | |
| WORKDIR /app | |
| ADD . /app | |
| RUN boot serve --fetch | |
| # required by AWS Elastic Beanstalk | |
| EXPOSE 3000 | |
| CMD ["/usr/bin/boot", "serve"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment