-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change updates force to use a multistage docker build and leverages the new docker build enginer, buildkit. Some of the benefits are better layer caching, meaning we should see decreases in the average image build time, we now run our tests in the same docker image that they are compiled in, and the production image is significantly smaller (down to 500MiB from 3GiB).
- Loading branch information
Showing
15 changed files
with
590 additions
and
217 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,36 @@ | ||
.git | ||
.gitignore | ||
.dockerignore | ||
Dockerfile | ||
hokusai | ||
# Prefer excluding all assets by default. It prevents large artifacts from | ||
# accidentally becomming part of the Docker context. | ||
* | ||
|
||
README.md | ||
LICENSE | ||
VERSION | ||
docs | ||
# CI | ||
!scripts/ | ||
|
||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
# Source | ||
!data/ | ||
!patches/ | ||
!src/ | ||
!webpack/ | ||
|
||
.env | ||
.env.* | ||
# Testing | ||
!__mocks__/ | ||
!cypress/ | ||
!.env.oss | ||
log | ||
tmp | ||
node_modules | ||
.vscode | ||
redis.conf | ||
!.env.test | ||
!cypress.json | ||
!jest.config.v1.js | ||
!jest.config.v2.js | ||
!test.config.js | ||
!test.mocha.js | ||
|
||
# Build Configuration | ||
!.eslintrc.js | ||
!.nvmrc | ||
!.prettierignore | ||
!apollo.config.js | ||
!babel.config.js | ||
!coffeelint.json | ||
!dangerfile.ts | ||
!package.json | ||
!relay.config.js | ||
!tsconfig.json | ||
!yarn.lock |
Oops, something went wrong.