forked from norbertFeron/graph-ryder-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (14 loc) · 672 Bytes
/
Dockerfile
File metadata and controls
22 lines (14 loc) · 672 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM digitallyseamless/nodejs-bower-grunt:4
ADD package.json /tmp/package.json
RUN cd /tmp && npm install
RUN mkdir -p /opt/app && cp -a /tmp/node_modules /opt/app/
ADD bower.json /tmp/bower.json
RUN cd /tmp && bower install --allow-root
RUN mkdir -p /opt/app && cp -a /tmp/bower_components /opt/app/
RUN cd /tmp && git clone https://github.com/norbertFeron/linkurious.js linkurious && cd linkurious && npm install && npm run build
RUN mkdir -p /opt/app && cp -a /tmp/linkurious /opt/app/
RUN cd /opt/app/linkurious && bower link --allow-root && cd /opt/app && bower link linkurious --allow-root
WORKDIR /opt/app
ADD . /opt/app
EXPOSE 9000
CMD [ "npm", "start" ]