Guest User

Untitled

a guest
Jul 17th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. FROM node:8.9.3-alpine as build-deps2
  2. RUN mkdir /irooltest WORKDIR /irooltest COPY . /irooltest
  3. RUN npm install RUN npm run build
  4.  
  5. FROM nginx:1.12-alpine
  6. COPY --from=build-deps2 /irooltest/build /usr/share/nginx/html
  7. EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]
  8.  
  9. services:
  10. iroolclient:
  11. image: chaimaennar/irooltest
  12. ports:
  13. - 8080:80
  14. networks:
  15. default:
  16.  
  17. networks:
  18. default:
  19. external:
  20. name: mynetwork
  21.  
  22. -Top
  23. -localhost:8080
  24. -static
  25. -index.css
  26. -Webpack://
Add Comment
Please, Sign In to add comment