-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
43 lines (33 loc) · 713 Bytes
/
Dockerfile
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM alpine as watchman
RUN \
apk --update add \
automake \
autoconf \
build-base \
linux-headers\
git && \
git clone https://github.com/facebook/watchman.git &&\
cd watchman &&\
git checkout v4.7.0 &&\
./autogen.sh &&\
./configure &&\
make && \
make install
FROM node:8.7-alpine
LABEL maintainer="Seosamh Cahill"
COPY --from=watchman /usr/local/bin/watchman /usr/local/bin
WORKDIR /src
COPY package.json .
RUN \
npm install -g \
[email protected] && \
apk --update --no-cache add \
chromium \
inotify-tools \
ttf-freefont \
udev && \
mkdir -p /usr/local/var/run/watchman
COPY . .
EXPOSE 4200 7020 7357 9222
ENV PATH /usr/local/bin:$PATH
CMD [ "ember", "serve" ]