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

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