You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
645 B

FROM node:4
ENV HTTP_SERVER_VERSION 0.9.0
ENV PUBLIC_FOLDER /commonroutesLandingPage
RUN mkdir -p $PUBLIC_FOLDER
RUN npm install -g http-server@0.9.0
RUN npm install -g bower
RUN git clone https://github.com/arnaucode/commonroutesLandingPage.git
RUN cd commonroutesLandingPage && \
git clone https://github.com/arnaucode/commonroutesWebApp.git
RUN cd commonroutesLandingPage/commonroutesWebApp && \
npm install && \
bower install --allow-root
RUN cd commonroutesLandingPage && \
mv commonroutesWebApp app
CMD http-server $PUBLIC_FOLDER
EXPOSE 8085
#docker build -t landingpage .
#docker run -ti -d -p 80:8080 landingpage