-
Notifications
You must be signed in to change notification settings - Fork 42
/
Dockerfile
42 lines (38 loc) · 939 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
FROM node:10
# need to install packages for chrome to even
RUN apt-get update && apt-get install -y wget --no-install-recommends \
&& apt-get update \
&& apt-get install -y \
git \
# See https://crbug.com/795759
libgconf-2-4 \
apt-utils \
curl \
fonts-ipafont-gothic \
fonts-wqy-zenhei \
fonts-thai-tlwg \
fonts-kacst \
ttf-freefont \
fonts-liberation \
libappindicator3-1 \
libasound2 \
libatk-bridge2.0-0 \
libatk1.0-0 \
libcups2 \
libgtk-3-0 \
libnspr4 \
libnss3 \
libx11-xcb1 \
libxss1 \
libxtst6 \
lsb-release \
xdg-utils \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
ADD package.json yarn.lock ./
ADD packages/element/package.json ./packages/element/
ADD packages/cli/package.json ./packages/cli/
RUN yarn
ENV NO_CHROME_SANDBOX=1
ADD ./ ./