forked from badges/shields
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak Docker initialization (badges#3173)
* Tweak Docker initialization 1. Set NODE_ENV=production in Docker. 2. When NODE_ENV is production, bind to all interfaces. This seems like a sensible default. 3. Exclude Dockerfile from container to improve layer cacheability when modifying the dockerfile. Ref badges#3165 * Rm obsolete comment
- Loading branch information
1 parent
a6d0223
commit ace2a7a
Showing
3 changed files
with
12 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,6 @@ shields.env | |
.git/ | ||
.gitignore | ||
.vscode/ | ||
|
||
# Improve layer cacheability. | ||
Dockerfile |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
public: | ||
bind: | ||
address: '0.0.0.0' |