Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 636 Bytes

README.md

File metadata and controls

36 lines (29 loc) · 636 Bytes

angular-cli-start

Docker for start angular-cli

docker-compose example

version: '3'

services:
  your_app:
    image: freehackquest/angular-cli-start:latest
    environment:
      - NODE_ENV=production
    restart: always
    volumes:
      - "./your_app:/home/node/app"
      - "./tmp/your_app_npm/:/root/.npm/"
      - "./tmp/your_app_node_modules/:/home/node/app/node_modules"
    restart: always
    command: "bash -c './start-in-docker.sh'"
    ports:
      - "4200:4200"
    networks:
      - your_net

networks:
  your_net:
    driver: bridge

local-build

docker build --rm --tag 'angular-cli-start' .