commonroutesLandingPage/Dockerfile
DockerfileRaw
1FROM node:4
2
3ENV HTTP_SERVER_VERSION 0.9.0
4ENV PUBLIC_FOLDER /commonroutesLandingPage
5
6RUN mkdir -p $PUBLIC_FOLDER
7RUN npm install -g http-server@0.9.0
8RUN npm install -g bower
9
10RUN git clone https://github.com/arnaucode/commonroutesLandingPage.git
11
12RUN cd commonroutesLandingPage && \
13 git clone https://github.com/arnaucode/commonroutesWebApp.git
14RUN cd commonroutesLandingPage/commonroutesWebApp && \
15 npm install && \
16 bower install --allow-root
17
18RUN cd commonroutesLandingPage && \
19 mv commonroutesWebApp app
20
21CMD http-server $PUBLIC_FOLDER
22
23EXPOSE 8085
24
25#docker build -t landingpage .
26#docker run -ti -d -p 80:8080 landingpage