Created
September 10, 2014 19:12
-
-
Save djmaze/9aeebe7f8b847bbddd99 to your computer and use it in GitHub Desktop.
ember-cli Dockerfile
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:14.04 | |
RUN apt-get update | |
RUN apt-get -y install git | |
RUN apt-get -y install nodejs npm | |
RUN ln -s /usr/bin/nodejs /usr/local/bin/node | |
ENV CLI_VERSION 0.0.42 | |
RUN npm install -g ember-cli bower phantomjs | |
RUN useradd -m -u 1000 app | |
USER app | |
WORKDIR /home/app | |
ENV HOME /home/app | |
CMD ["ember", "server"] | |
EXPOSE 4200 35729 |
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
app: | |
build: . | |
volumes: | |
- .:/home/app | |
ports: | |
- "4200:4200" | |
- "35729:35729" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment