-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile.deb
41 lines (30 loc) · 891 Bytes
/
Dockerfile.deb
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
FROM python as watchman
RUN \
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
LABEL maintainer="Seosamh Cahill"
COPY --from=watchman /usr/local/bin/watchman /usr/local/bin
WORKDIR /src
ENV EMBER_VERSION=2.16.2
COPY package.json .
RUN \
npm install -g \
ember-cli@$EMBER_VERSION && \
mkdir -p /usr/local/var/run/watchman && \
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list && \
apt-get update && \
apt-get install -y \
fonts-liberation \
google-chrome-stable && \
rm -rf /var/lib/apt/lists/*
COPY . .
EXPOSE 4200 7020 7357 9222
ENV PATH /usr/local/bin:$PATH
CMD [ "ember", "serve" ]