-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(docker): multi-stage app image build
fixes issue with version calculation from a dirty git index during Docker build time / pip install time there's no reason to have the .git directory in the app image, same with all the extra files, tests, .devcontainer, etc. copies the approach from eligibility-server
- Loading branch information
1 parent
bfe2ad4
commit 6aa79e4
Showing
4 changed files
with
33 additions
and
16 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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
.github/ | ||
.vscode/ | ||
**/__pycache__/ | ||
.flake8 | ||
.*ignore | ||
node_modules/ | ||
static/ | ||
.coverage | ||
*.db | ||
*.egg-info | ||
*.log | ||
*.mo | ||
.DS_Store | ||
.env |
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
*.env | ||
*fixtures.json | ||
!benefits/core/migrations/local_fixtures.json | ||
*.log | ||
*.mo | ||
*.tfbackend | ||
*.tmp | ||
|
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