Giter VIP home page Giter VIP logo

docker-angular-cli's Introduction

Dockerfile with Angular CLI

Node 8.12 + Angular CLI 6.2.0+

Find the image here

Pulling the image

docker pull johnpapa/angular-cli

Using the image in a Dockerfile

FROM johnpapa/angular-cli

docker-angular-cli's People

Contributors

johnpapa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-angular-cli's Issues

How to access node in browser

I used your image to setup my docker/node/angular-cli application and all works good so far. The container is up and running and my modules are installed.

But how do I access the node-server in my browser? I tried localhost:4200, 127.0.0.1:4200 and even the IP I got from docker inspect. All didn't work. Did i miss to configure something?

This is the party of my docker-compose.yml:

frontend:
    image: johnpapa/angular-cli
    container_name: frontend
    command: sh /srv/scripts/npm-init.sh
    working_dir: /usr/app
    volumes:
      - /home/USER/dev/angular-frontend/frontend-app:/usr/app
      - /usr/app/node_modules
      - /home/USER/dev/epubli-ansible/container/frontend/scripts/npm-init.sh:/srv/scripts/npm-init.sh
    ports:
      - "4200:4200"

Why there's command to remove alpine-sdk

Hi,

thanks for your config file, but I quite don't understand this Step:
apk del alpine-sdk
In step before you just installed alpine-sdk but in next step you are removing it immediately. Why? Cause then I've had problem with npm install command, as some of sub-modules require make command.

Thank you
Bye

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.