-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (25 loc) · 714 Bytes
/
Dockerfile
File metadata and controls
29 lines (25 loc) · 714 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM node:4.6.2
MAINTAINER Dan Lynn <docker@danlynn.org>
# ember server on port 4200
# livereload server on port 49153 (changed in 2.11.1 from 49152)
EXPOSE 4200 49153
WORKDIR /myapp
# run ember server on container start
CMD ["ember", "server"]
# Note: npm is v2.15.11
RUN \
npm install -g ember-cli@2.11.1 &&\
npm install -g bower@1.8.0 &&\
npm install -g phantomjs@2.1.7
# install watchman
# Note: See the README.md to find out how to increase the
# fs.inotify.max_user_watches value so that watchman will
# work better with ember projects.
RUN \
git clone https://github.com/facebook/watchman.git &&\
cd watchman &&\
git checkout v3.5.0 &&\
./autogen.sh &&\
./configure &&\
make &&\
make install