Guest User

Untitled

a guest
Jun 19th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. {
  2. "/server": {
  3. "target": "http://localhost:3001",
  4. "secure": false,
  5. "pathRewrite": {"^/server" : ""}
  6. },
  7. }
  8.  
  9. # Stage 0, based on Node.js, to build and compile Angular
  10. FROM node:8.9 as node
  11.  
  12. WORKDIR /app
  13.  
  14. COPY package.json /app/
  15.  
  16. RUN npm install
  17. COPY ./ /app/
  18.  
  19. EXPOSE 80
  20.  
  21. ARG env=prod
  22.  
  23. RUN npm run build -- --prod --environment $env
  24.  
  25. "start": "ng serve -H 0.0.0.0 --proxy-config proxy.conf.json",
Add Comment
Please, Sign In to add comment