This project was generated with angular-cli version 1.0.0-beta.24.
Run docker-compose up --build
. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
A example of Angular app in a Docker Container.
This project was generated with angular-cli version 1.0.0-beta.24.
Run docker-compose up --build
. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
docker-compose up --build
Building website
Step 1/8 : FROM node:6
---> 62905ac2c7de
Step 2/8 : ENV INSTALL_PATH /my_dockerized_app
---> Using cache
---> 1b91189f3ff3
Step 3/8 : RUN mkdir -p $INSTALL_PATH
---> Using cache
---> 3718ff0e407a
Step 4/8 : WORKDIR $INSTALL_PATH
---> Using cache
---> 47209caaf839
Step 5/8 : COPY package.json .
---> Using cache
---> e7ce310a229d
Step 6/8 : RUN npm install
---> Using cache
---> 9ee7d687a372
Step 7/8 : COPY . .
---> a29501a2e26c
Step 8/8 : CMD ["npm", "start"]
---> Running in 944bf66935fe
Removing intermediate container 944bf66935fe
---> e839942c1968
Successfully built e839942c1968
Successfully tagged project4_website:latest
Recreating project4_website_1
Attaching to project4_website_1
website_1 |
website_1 | > [email protected] start /my_dockerized_app
website_1 | > ng serve -H 0.0.0.0
website_1 |
website_1 | sh: 1: ng: not found
website_1 |
website_1 | npm ERR! Linux 4.15.0-1027-gcp
website_1 | npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
website_1 | npm ERR! node v6.16.0
website_1 | npm ERR! npm v3.10.10
website_1 | npm ERR! file sh
website_1 | npm ERR! code ELIFECYCLE
website_1 | npm ERR! errno ENOENT
website_1 | npm ERR! syscall spawn
website_1 | npm ERR! [email protected] start: ng serve -H 0.0.0.0
website_1 | npm ERR! spawn ENOENT
website_1 | npm ERR!
website_1 | npm ERR! Failed at the [email protected] start script 'ng serve -H 0.0.0.0'.
website_1 | npm ERR! Make sure you have the latest version of node.js and npm installed.
website_1 | npm ERR! If you do, this is most likely a problem with the docker-angular-example package,
website_1 | npm ERR! not with npm itself.
website_1 | npm ERR! Tell the author that this fails on your system:
website_1 | npm ERR! ng serve -H 0.0.0.0
website_1 | npm ERR! You can get information on how to open an issue for this project with:
website_1 | npm ERR! npm bugs docker-angular-example
website_1 | npm ERR! Or if that isn't available, you can get their info via:
website_1 | npm ERR! npm owner ls docker-angular-example
website_1 | npm ERR! There is likely additional logging output above.
website_1 | npm WARN Local package.json exists, but node_modules missing, did you mean to install?
website_1 |
website_1 | npm ERR! Please include the following file with any support request:
website_1 | npm ERR! /my_dockerized_app/npm-debug.log
project4_website_1 exited with code 1
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.