-
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.
* refactor(Dockerfile): copy less files to node builder This reduces the build time from 89s to 70s. Final runtime image is unchanged. * refactor(Dockerfile) move compilemessages to runtime image compilemessages depends on the whole Django app, whereas the poetry install doesn't, so moving this into the runtime image should simplify that initial build stage and makes it more cachable. This doesn't affect the overall build time without cache. The gettext package adds about 8mb to the final image. * refactor(Dockerfile) limit runtime image This refactor simplifies the runtime image stage and limits the files copied into the image. This halves the image size from 505MB to 221MB, and reduces the build time from 70s to 56s when cache is not used. * minor comment changes
- Loading branch information
Showing
1 changed file
with
45 additions
and
34 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