-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(*): synchronized contents of archive build with contents of dock…
…er build
- Loading branch information
Sergey Sokolov
committed
Apr 16, 2019
1 parent
542df64
commit 97a1fa2
Showing
5 changed files
with
59 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
commands/docker-build/nginx.conf.template.js → templates/nginx.conf.template.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
commands/docker-build/start.template.js → templates/start.template.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
const configs = require('../../configs/app-configs'); | ||
const configs = require('../configs/app-configs'); | ||
|
||
module.exports = `#!/bin/sh | ||
# Move nginx config | ||
mv ./nginx.conf /etc/nginx/conf.d/default.conf | ||
# Start the nginx process in background | ||
nginx & | ||
# Start nodejs process | ||
node ./${configs.buildPath}/${configs.serverOutput} | ||
`; | ||
`; |