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

# Install gettext to get envsubst
RUN apt-get update && apt-get install -y gettext

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

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

WORKDIR /usr/src/app/

RUN mkdir -p /etc/ssl/certs
COPY lab.cluster.gsi.dit.upm.es.crt /usr/local/share/ca-certificates/
RUN update-ca-certificates

ADD . /usr/src/app

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