File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ TIP: Idea is very simple:
101
101
102
102
NOTE: We will be using `Dockerfile.frontend-build` file instead.
103
103
This file also contains instructions for project build using npm.
104
- // We wanna simply delegate everything to `git push heroku master` instruction
105
104
106
105
.prepare frontend Dockerfile (`Dockerfile.frontend` file):
107
106
[source,bash]
@@ -121,7 +120,7 @@ include::../../docker/default.conf.tpl[]
121
120
.prepare `heroku.yml` file:
122
121
[source,yaml]
123
122
----
124
- include::../../heroku.yml[]
123
+ include::../../heroku.yml.frontend []
125
124
----
126
125
127
126
==== create and deploy heroku app
@@ -169,7 +168,6 @@ NOTE: Here we will be using `Dockerfile.frontend-build` file instead.
169
168
.prepare frontend-build Dockerfile (`Dockerfile.frontend-build` file):
170
169
[source,bash]
171
170
----
172
-
173
171
include::../../Dockerfile.frontend-build[tags=content]
174
172
----
175
173
@@ -184,6 +182,14 @@ docker stop run-mean-stack-frontend-build
184
182
185
183
=== same, but build in heroku
186
184
185
+ NOTE: Here, we wanna simply delegate everything to `git push heroku master` instruction
186
+
187
+ .prepare `heroku.yml` file:
188
+ [source,yaml]
189
+ ----
190
+ include::../../heroku.yml.frontend-build[]
191
+ ----
192
+
187
193
[source,bash]
188
194
////
189
195
cp -Rf ./heroku.yml.frontend-build ./heroku.yml
You can’t perform that action at this time.
0 commit comments