-
Notifications
You must be signed in to change notification settings - Fork 10
/
Dockerfile
43 lines (43 loc) · 1.02 KB
/
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 node:10
ENV LC_ALL=C.UTF-8 \
NODE_ENV=production
RUN apt-get update && \
apt-get install -y \
ruby \
ruby-dev \
libx11-xcb1 \
libxtst6 \
libnss3 \
libxss1 \
libasound2 \
libatk-bridge2.0 \
libgtk-3.0 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN gem install sass
WORKDIR /usr/src
COPY Makefile package.json bower.json semantic.json .bowerrc .npmrc .eslintrc.json ./
COPY semantic/gulpfile.js semantic/
COPY semantic/src semantic/src
COPY semantic/tasks semantic/tasks
RUN make packages bower semantic
COPY app app
COPY audio audio
COPY fontawesome fontawesome
COPY fonts fonts
COPY html html
COPY images images
COPY lib lib
COPY server server
COPY stylesheets stylesheets
COPY templates templates
COPY tests tests
COPY worker worker
COPY .git .git
COPY Gemfile Gemfile.lock Gruntfile.js manifest.json ./
ARG source_version
ARG build_target=build
ENV SOURCE_VERSION=$source_version
RUN make $build_target
EXPOSE 1080
CMD ["npm", "start"]