File tree Expand file tree Collapse file tree 2 files changed +26
-24
lines changed Expand file tree Collapse file tree 2 files changed +26
-24
lines changed 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
63
63
64
64
<br >
65
65
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
- ```
80
66
81
67
## Development
82
68
@@ -108,6 +94,21 @@ Open the project [http://localhost:4000](http://localhost:4000).
108
94
109
95
> The project is built by Gulp. You can read more info in [ Build Tasks] ( #build-tasks ) section
110
96
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
+
111
112
<br >
112
113
## Folder Structure
113
114
Original file line number Diff line number Diff line change 1
1
version : ' 3'
2
2
3
3
services :
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"
14
15
You can’t perform that action at this time.
0 commit comments