File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,20 +63,6 @@ Some of the components use the new Flexbox Layout module which is available in m
6363
6464<br >
6565
66- ## Docker
67-
68- To build the container, you need to install docker and docker-compose than launch the docker daemon.
69- After launching the daemon run the following commands from the project folder:
70-
71- Build the image
72- ```
73- docker-compose build
74- ```
75-
76- Launch the container
77- ```
78- docker-compose up
79- ```
8066
8167## Development
8268
@@ -108,6 +94,21 @@ Open the project [http://localhost:4000](http://localhost:4000).
10894
10995> The project is built by Gulp. You can read more info in [ Build Tasks] ( #build-tasks ) section
11096
97+ ## Running in Docker
98+
99+ To build the container, you need to install docker and docker-compose than launch the docker daemon.
100+ After launching the daemon run the following commands from the project folder:
101+
102+ Build the image
103+ ```
104+ docker-compose build
105+ ```
106+
107+ Launch the container
108+ ```
109+ docker-compose up
110+ ```
111+
111112<br >
112113## Folder Structure
113114
Original file line number Diff line number Diff line change 11version : ' 3'
22
33services :
4- node :
5- build :
6- context : .
7- volumes :
8- - .:/app
9- # http://jdlm.info/articles/2016/03/06/lessons-building-node-app-docker.html
10- - /app/node_modules
11- ports :
12- # BrowserSync port.
13- - " 4000:4000"
4+ node :
5+ build :
6+ context : .
7+ volumes :
8+ - .:/app
9+ # http://jdlm.info/articles/2016/03/06/lessons-building-node-app-docker.html
10+ - /app/node_modules
11+ - /app/bower_components
12+ ports :
13+ # Expose container port.
14+ - " 4000:4000"
1415
You can’t perform that action at this time.
0 commit comments