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
Dockerfile and image for node plus 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
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"
Hi ,
Will it be possible to update the docker image version to user more recent version of angular cli and node ?
Regards
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.