Dockerfile 322 Bytes
Newer Older
J. Fernando Sánchez's avatar
J. Fernando Sánchez committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from node:7.10.0

ENV NODE_PATH=/tmp/node_modules APP_NAME=dashboard-tourpedia

# Install dependencies first to use cache
RUN npm install -g http-server bower

ADD bower.json /usr/src/bower.json

RUN cd /usr/src && \
    bower install --allow-root 

ADD . /usr/src/app

WORKDIR /usr/src/app/

CMD ["/usr/src/app/init.sh"]