Skip to content

Instantly share code, notes, and snippets.

@djmaze
Created September 10, 2014 19:12
Show Gist options
  • Save djmaze/9aeebe7f8b847bbddd99 to your computer and use it in GitHub Desktop.
Save djmaze/9aeebe7f8b847bbddd99 to your computer and use it in GitHub Desktop.
ember-cli Dockerfile
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
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